activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Posta <>
Subject Re: [Java ActiveMQ 5.8] How to get originate broker infomation
Date Mon, 28 Oct 2013 05:05:59 GMT
I am assuming you have broker a and broker b networked together? So what
kind of info about broker b do you need? Ultimately the addconsumer method
is invoked because of information broadcasted out on broker b advisory
messages, so you may just want to listen to those and consume the advisory
messages directly for consumers.

On Saturday, October 26, 2013, Gihan Anuruddha wrote:

> Hi Everyone,
> I'm doing a small research as a one of my university assignments. I'm
> trying to do a little experiment regarding a pub/sub information sharing on
> activemq topic based brokers.
> I want to capture originate broker information once the message send to
> other brokers.
> Let say I have two brokers A , B and the topic is *test*. My client
> subscribes to broker B's topic test.
> I observed that when I subscribed to broker B;  AbstractRegion's [1]
>  addConsumer(ConnectionContext context, ConsumerInfo info) invoked in both
> A and B.  Is it possible to get broker B's information when this method
> invokes inside broker A ?
> I debug broker A (addConsumer method) while I'm subscribing to broker B's
> test topic.  But couldn't find any information regarding broker
> B'sdetails. I don't whether I'm looking the correct place ? Please
> help me
> regarding this matter.
> I hope you understand my question.  I got source from this tag [2].
> [1] -
> [2] -
> Thanks a lot,
> Gihan

*Christian Posta*
twitter: @christianposta

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message