activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: Identifying disconnected client id in a network of brokers
Date Fri, 29 Jun 2012 16:20:36 GMT
It is not that easy but I think you have some options.

If you don't use conduit subscriptions (so conduit=false), there will
be a one to one mapping between remote consumers and network
consumers. This will work if you don't network topics

If you need to use conduit=true, you may be able to track the
ConsumerInfo advisory and access the
this array tracks the original consumerId that causes the network
consumer be created on demand. It is tracked so that duplicate
suppression can be implemented in cyclic networks.
see usage at:

If you track the additions and remember the networConsumerId, then you
will be able to match against a remove.

hope this helps

On 28 June 2012 17:22, JacobS <> wrote:
> We are using AMQ 5.6 and we want to add 'network of brokers' support.
> The problem is, we are using the connection id ( we added a custom clientid
> prefix to the  connectionFactory ) that is received in RemoveInfo when an
> advisory on a consumer removed arrives, in order to identify disconnected
> clients.
> but when the client is connected to a broker other than our master broker
> the connection id received on disconnection is not of the client.
> Any ideas how to identify a disconnected client in a network of brokers ?
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


View raw message