Reputation: 61
how to get the connection status of client for activemq? if A and B are connected with server, a momnet later, how can A know B's status?
Upvotes: 0
Views: 998
Reputation: 22279
You can either, from A, subscribe to advisory messages to get an idea of status changes, or you can use JMX to find out which clients are connected.
The idea with loose coupling is that you should not need to know if the other client is online, since the middleware takes care store and forward.
Upvotes: 1