camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gilboy <josephoto...@gmail.com>
Subject Re: Master/Slave failover for camel routes
Date Mon, 03 Nov 2014 10:04:45 GMT
Done a little more digging round this and I take if I invoke the following:
 
*exchange.setProperty(Exchange.ROUTE_STOP,
CustomFaultToleranceAPI.isInActive());
*

>From RoutePolicy.onExchangeBegin() this will ensure the exchange on the warm
instance will not be processed and yet the route will stay active

Thanks
Joe



--
View this message in context: http://camel.465427.n5.nabble.com/Master-Slave-failover-for-camel-routes-tp5758438p5758446.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message