I am using activemq version 5.15.8. I see the issue when client first time tries to connect to activemq broker and if the randomly picked broker url happens to be slave, the call is stuck forever in FailoverTransport class at the following point:
############################## @Override public void oneway(Object o) throws IOException { Command command = (Command) o; Exception error = null; try { synchronized (reconnectMutex) { <<<<<< blocked here >>>>> ############################## call is stuck at the above point till i make one of the instance(either master or slave) for activemq go down. mikmela wrote > You haven't mentioned a version of your activemq, there were some issues > with > that in older versions... > We're on 5.6.0 and above - no issues... > See > http://activemq.apache.org/failover-transport-reference > <http://activemq.apache.org/failover-transport-reference> > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html mikmela wrote > You haven't mentioned a version of your activemq, there were some issues > with > that in older versions... > We're on 5.6.0 and above - no issues... > See > http://activemq.apache.org/failover-transport-reference > <http://activemq.apache.org/failover-transport-reference> > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html mikmela wrote > You haven't mentioned a version of your activemq, there were some issues > with > that in older versions... > We're on 5.6.0 and above - no issues... > See > http://activemq.apache.org/failover-transport-reference > <http://activemq.apache.org/failover-transport-reference> > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html mikmela wrote > You haven't mentioned a version of your activemq, there were some issues > with > that in older versions... > We're on 5.6.0 and above - no issues... > See > http://activemq.apache.org/failover-transport-reference > <http://activemq.apache.org/failover-transport-reference> > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html -- Sent from: http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html