Hi,

I am having trouble with messages not being delivered after a reconnect.
I am using ActiveMQ 5.7. My clients are connecting using the failover
transport and ssl.

Here is the scenario:
1. I start the client and connect to Server 1. (all messages are working)
2. I pull the network cable on Server 1. 
3. The inactivity monitor detects the failure and my transport listener is
notified.
4. The client then reconnects to Server 2. (the connection appears to work
for some destinations)
5. The transport listener is informed that the connection has been resumed. 

After this reconnect I can no longer send and receive messages like normal.
Some of my message listeners are still getting messages. Using jconsole I
was able to see that many of the consumers have unacknowledged messages.
Also some Destinations have a very high in flight count. 

If I plug back in Server 1 network cable and force clients to reconnect to
it they start working again.
This only happens if I pull the network cable. If I shut down the broker on
the server or stop the application the failover works as it should.

Any help would be greatly appreciated. Thanks.

 



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Consumers-fail-after-reconnect-tp4671583.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to