you will need to peek at the code to be sure, but you may be able to use: org.apache.activemq.broker.BrokerFilter#getAdaptor
called on the root broker, which can be returned by org.apache.activemq.broker.BrokerService#getBroker The issue is that there is a one way list between broker and filters, so you need to start at the root broker to be sure all brokers/filters will be traversed when looking for another instance. On 23 May 2012 13:15, mandjeo <[email protected]> wrote: > Hi everybody, > > I am developing some plugins for ActiveMQ and because I have more than one > plugin in my configuration I would like to connect them, that is to have a > reference from the one to another. > > If you can help me with the configuration and some examples of how can I > achieve this. > > So from one class that extends a BrokerFilter I want to have a reference to > another one that is also working as a plugin (also extends BrokerFilter). > > Thanks... > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/ActiveMQ-Plugin-references-tp4651507.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. -- http://fusesource.com http://blog.garytully.com
