exchange.getIn().setHeader("high", true);
exchange.getIn().setHeader("foo", 123);
exchange.getIn().setHeader("bar", "beer");
SimplePredicateParser parser = new SimplePredicateParser("${header.high} == true && ${header.foo} == 123 && ${header.bar} == 'beer'", true);
Predicate pre = parser.parsePredicate();
assertTrue("Should match", pre.matches(exchange));
}