I'll try the filter. But I want my messages to be dropped if the predicate is true. If beanTwo returns false, only then should the route continue. Is that possible to express in the current DSL, or would I have to alter the method called?
Claus Ibsen-2 wrote: > > On Tue, Dec 16, 2008 at 3:16 PM, Fush <rikard.erik...@gmail.com> wrote: > Yeah its more like the filter EIP and maybe this one works ;) > http://activemq.apache.org/camel/message-filter.html > > Any messages which the filter predicate returns false will be dropped. > -- View this message in context: http://www.nabble.com/Will-onException-handle-exceptions-thrown-from-%27when%27-clause--tp21033017s22882p21034693.html Sent from the Camel - Users mailing list archive at Nabble.com.