You haven't told us what you're actually trying to do with the reference to the broker (which means there is a non-trivial risk that this is an X-Y problem - http://meta.stackexchange.com/questions/66377/what-is-the-xy-problem), so JMX might or might not allow you to do whatever it is. But if JMX allows it, then yes, what you described is roughly what you'd need to do to use JMX.
Tim On May 15, 2016 9:25 PM, "akhil" <akh...@gmail.com> wrote: > Yes , the client is running as a separate process from the broker . based > on > what you said , i have to expose the broker service as an mbean which can > run on the broker machine and through JMX i have to get that mbean and > associated region broker. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/How-can-i-get-Broker-Service-instance-of-the-remote-broker-tp4711891p4711968.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >