On 07/13/2012 11:25 AM, eugene wrote:
Is there a way to get the current list of all queues/topics on the broker pragmatically in Java?
If you mean programmatically, then yes. The first question though is which broker you are using (i.e. c++ or java) as they have different management mechanisms.
If using the c++ broker, management is done through a message-based protocol - i.e. by sending and receiving messages to a special destination on the broker. There was an example of that in an earlier thread: http://mail-archives.apache.org/mod_mbox/qpid-users/201106.mbox/%[email protected]%3E. The management protocol is called QMF and you'll see many other threads on QMF and JMS.
QMF is supported to some extent by the Java broker, but it also supports JMX (with REST based access coming in the next release I believe). I don't have first hand experience of that, but I'm sure others on the list do...
P.S. This is funny, but every time I face a problem like that, the forum is the only solution so far. :)
Yes, it is a bit of a weakness of our documentation :-( --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
