camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <aka...@fusesource.com>
Subject Re: Handling Endpoint failure
Date Wed, 15 Feb 2012 15:00:05 GMT
Hi,

Since the Camel endpoint has no way of knowing whether the service is up
other than a ConnectException being thrown, you would need to trap this
Exception and then do whatever you need to do through the Exception handling
mechanism.

You could set up a Processor in the exception handling route that brings
down all the associated routes when it catches a ConnectException. 

Hope this helps.

Cheers,

Ashwin...


-----
---------------------------------------------------------
Ashwin Karpe
Apache Camel Committer & Sr Principal Consultant
FUSESource (a Progress Software Corporation subsidiary)
http://fusesource.com 

Blog: http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
--
View this message in context: http://camel.465427.n5.nabble.com/Handling-Endpoint-failure-tp5486157p5486283.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message