camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Handling Endpoint failure
Date Wed, 15 Feb 2012 15:32:19 GMT

Hmm, This goes to whether routes are kinda self-directed, i.e., inability to
produce messages to a destination brings down the route itself... 

While perfectly do-able, provided the consumer endpoint provides a
capability to do so via a flag/switch, I would rather not employ this
strategy. It would drive system admins crazy if routes were suddenly coming
down of their own accord and require them to make secondary checks to see
what happened. Too much power & chaos!!!...

Ideally, you might want to delegate the ability to bring down routes to
another bean/service/entity that could be notified on Connect Exceptions and
then have it bring down the necessary routes gracefully.

In the absence of that doing it directly in the exception handling route
would also do the trick, albeit only within the boundaries of the Camel
Context in which the exception is caught...



Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary) 

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message