Yes. You might need to set the expiryTimeout on the pool.
With expiryTimeout=0 broken connections might not be discarded in some
cases.
Try to set it to 30 seconds for a start.
Christian
On 18.07.2016 14:34, mkrueger wrote:
Hi everybody,
we are currently busy building a MOM based on ActiveMQ.
We have a Master / Slave configuration on the broker side and use a
connection pool (PooledConnectionFactory) for the clients.
If the connection between broker and client dies (e.g. forced shutdown of
master) the failover kicks in.
It looks to us like the failover is not working in combination with a
connection pool since the consumer does not reconnect in any way.
Did somebody already experience a similar behaviour and has a hint?
Thanks already in advance.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Consumer-does-not-reconnect-tp4714039.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com