exchange.getIn().setBody(123);
SimplePredicateParser parser = new SimplePredicateParser("${body} == 123", true);
Predicate pre = parser.parsePredicate();
assertTrue("Should match", pre.matches(exchange));
}
public void testSimpleEqFunctionFunction() throws Exception {
exchange.getIn().setBody(122);
exchange.getIn().setHeader("val", 122);