thanx again... i've put it all to threads (i'm using connection to multiple servers).
i just found about ActiveMQConnection methods: isStarted(), isClosed()... so now i can check in a loop if connection is established. I was thinking of using auto-reconnection with reliable:tcp://localhost... but can i also use transport options (like for failover in ActiveMQ 4.x), to, lets say, have initialReconnectDelay = 5000... -- View this message in context: http://www.nabble.com/Is-connected-to-broker-server--tf3027669.html#a8412985 Sent from the ActiveMQ - User mailing list archive at Nabble.com.