Hi,

Your file poller failover requirement can be addressed very simply.

You need to create a JMX event listener to listen to camel events (see link
below for example)

http://camel.apache.org/camel-jmx.html
http://camel.apache.org/camel-jmx.html 

When a camel context, connection or montored entity is not reachable, you
can start a fresh route in a different camel context to achieve the same
effect. The idea is to have a heartbeat going that is checked to ensure
things are up and when they are not apply the failover strategy.

Hope this helps.

Cheers,

Ashwin...

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

Blog: http://opensourceknowledge.blogspot.com
http://opensourceknowledge.blogspot.com 
---------------------------------------------------------
-- 
View this message in context: 
http://camel.465427.n5.nabble.com/Schedule-file-mail-endpoint-tp3356666p3358022.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to