How are the brokers on server1 and server2 connected? Do they form a 
master/slave pair based on shared storage or are they connected via a network 
bridge?

Regards,


Torsten Mielke
tmie...@redhat.com
tmielke.blogspot.com


On Sep 17, 2013, at 6:17 PM, moodycl wrote:

> 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.
> 

Reply via email to