Hi,

The failover protocol is primarily meant for connections to failover to
another broker if the primary broker is down and not necessarily to deal
with connections that have closed sockets on the broker due to inactivity. 

The fresh connection though may be established with a different broker and
if there are many such connections, then there is a cost to the clean up and
re-establishing of fresh connections. The better option i to use keep-alives
where you do not incur such costs and keep your existing connection to the
broker for as long as the broker is up and running.

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/Camel-ActiveMQ-queue-listener-consumer-drops-after-inactivity-tp3299709p3301513.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to