activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Is it possible to get a list of queues on a remote broker?
Date Sat, 14 Jun 2014 07:22:39 GMT

There is a bin/activemq-admin script you can use to query a local /
remote broker about details.
It uses JMX for that, so you would need network connectivity that
works with that.

If you are more a HTTP/REST guy then there is a REST api in ActiveMQ
exposed by Jolokia

On a local broker its usually at

Then its just a REST call to get the list of destinations.
We use that in hawtio to manage ActiveMQ brokers and a lot more.

On Sat, Jun 14, 2014 at 2:15 AM, Kevin Burton <> wrote:
> I'm trying to figure out how to get a list of existing queues on a remote
> broker.
> It looks like I can listen to queues as they are created/destroyed by
> adding an advisory message (which I don't yet have working) but I need to
> get all EXISTING queues on startup.
> It looks like I can do this with getDestinationMap:
> But that seems like it can only be called from an embedded and in-process
> broker.
> I mean... I'm willing to go that route but it seems to make more sense to
> just have the normal init/daemon setup for activemq and then have a remote
> process connect to it like a normal JMS consumer.
> This documentation seems to imply that it's possible:
> But that's by using a Region object and that only seems possible if you're
> in the same JVM as activemq.
> --
> Founder/CEO
> Location: *San Francisco, CA*
> Skype: *burtonator*
> blog:
> … or check out my Google+ profile
> <>
> <>
> War is peace. Freedom is slavery. Ignorance is strength. Corporations are
> people.

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message