activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mers <>
Subject Accessing failover://'s keep alive.
Date Mon, 18 Dec 2006 13:13:41 GMT


I'm working on code that will use the failover:// transport in ActiveMQ 4.1
to send messages to a remote queue. In the event that all reconnects fail
(e.g. network problems), I catch the thrown JMSException in my code and
persist messages locally. When one or more brokers come back up, I transmit
the persisted messages.

In order to do this, I need to know when the brokers are back up using some
sort of keep alive mechanism. The failover:// transport uses a keep alive
mechanism to allow blocked MessageProducers to complete their sends once the
Connection they are sending on is reestablished. My question is whether my
code can access the keep alive mechanism built into the failover://
transport or whether I have to implement my own mechanism altogether.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message