Re: .filter().method(...) does not modify Exchange

2011-12-15 Thread rhowlett
Thanks Willem, I figured that was the case. In the end I did the following: from("direct:start") .beanRef("beanRefName", "methodName") .filter(property(BeanClass.SHOULD_FILTER).isEqualTo(true)) ... .end(); -- View this message in context: http://camel.465427.n5.nabble.com/filter-met

Re: .filter().method(...) does not modify Exchange

2011-12-15 Thread Willem Jiang
Hi, The Predicate does not suppose to change the message. And the bean expression only affect to out message body. You can change the message header and body in processor or bean method. On Thu Dec 15 15:25:27 2011, rhowlett wrote: I wanted to do this: from("direct:start") .filter().metho