activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eivindsi <>
Subject Re: Master/slave configuration
Date Fri, 24 Jun 2011 06:40:53 GMT
Instead of having a client "connected" to the slave (the slave will not
accept connections until the master dies, if I remember correctly), you
should use only one client (JMS client 1) and use the failover transport.
The client will then automatically start using the slave when the master

To detect connection failure you can use
ActiveMQConnectionFactory.setTransportListener(..), and implement the
transportInterupted() and transportResumed() methods.

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

View raw message