exchange.getIn().setHeader("foo", 123);
SimplePredicateParser parser = new SimplePredicateParser("${header.high} == false || ${header.foo} == 123", true);
Predicate pre = parser.parsePredicate();
assertTrue("Should match", pre.matches(exchange));
}
public void testSimpleLogicalAndAnd() throws Exception {
exchange.getIn().setBody("Hello");
exchange.getIn().setHeader("high", true);