camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Karpe <>
Subject Re: Camel ActiveMQ queue listener (consumer) drops after inactivity.
Date Sat, 11 Dec 2010 14:09:43 GMT


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.



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