How can I monitor the connection with the brokerYou can monitor the status of the connection with the broker via the addTransportListener() method on the ActiveMQConnection. This method takes a TransportListener which is notified as the connection is established & dropped. It also allows you to work with the Failover Transport yet still know the status of the connection. See Also |