It's been a while but I vaguely remember the issue was configuring a limited
number of "maxReconnectAttempts".

failover:(nio://127.0.0.1:61616)?maxReconnectAttempts=3&....

Even though this looks innocent and _should_ work fine, it seems to stop 
the "failover" transport from failing over and re-connecting.

Removing the "maxReconnectAttempts" option was the solution, if I remember
correctly.




--
View this message in context: 
http://activemq.2283324.n4.nabble.com/After-broker-restart-forever-seeing-javax-jms-IllegalStateException-The-Session-is-closed-exceptions-tp4684560p4693619.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to