activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Schneider <>
Subject Re: Consumer does not reconnect
Date Tue, 19 Jul 2016 08:21:30 GMT
Can you share your code in form of a small example?

It depends a bit how you do the consumer. In case you use an event based 
consumer you might need to set an exception listener.

You can then close the consumer and connection and recreate it.


On 19.07.2016 09:24, mkrueger wrote:
> Hi Christian,
> thanks for the answer. We tried that already with different values from 1
> sec to 30 sec. Did not work out.
> Also leaving the PooledConnectionFactory out did not help.
> And all of this only occurs in the consumer case. The producer pics up the
> failover nicely. Anything else that might keep the broken connection in the
> consumer rather than replacing it with a new (working) one?
> Regards,
> Martin
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at

Christian Schneider

Open Source Architect

View raw message