camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fush <rikard.erik...@gmail.com>
Subject Re: Will onException handle exceptions thrown from 'when' clause?
Date Tue, 16 Dec 2008 15:04:04 GMT

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.eriksen@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.


Mime
View raw message