camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "calyan.bandi" <calyan.ba...@gmail.com>
Subject Re: onCompletion / exchange.isFailed() does not 'see' exception.
Date Wed, 23 Sep 2015 13:58:52 GMT
Hi,

Hope the below gives a better understanding to the users.

There are two properties provided when dealing with exceptions - continued
and handled.

1. handled - Again this property can be set with either true/false.
TRUE:
    Do not send it further down the route.
    No exception sent back to the caller.
FALSE:
    Do not send it further down the route.
    Exception is sent back to the caller.

2. continued - In the onException clause one can set this property with
either true/false.
TRUE:
    Send it further down the route
    No exception sent back to the caller.
FALSE:
    Do not send it further down the route
    Exception is sent back to the caller.
   

The property continued is a new addition from V2.x+ as the documentation
says. 


Thanks,
Kalyan






--
View this message in context: http://camel.465427.n5.nabble.com/onCompletion-exchange-isFailed-does-not-see-exception-tp5771110p5771866.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message