Why not check if the object's type is javax.jms.Queue?
Assistant Vice President
Bank of America
From: Barlow, Dustin [mailto:Dustin.Barlow@...]
Sent: 28 May 2003 18:36
Subject: [JBoss-user] JBoss 3.2.1: Enumerating JMS Queue JNDI names via JMX
Is there a way either thru JMX or ? to dynamically enumerate what JMS Queue
JNDI names are deployed in a particular server instance? I am writing a
generic web based JMS message browser utility and would like to be able to
auto discover what queues exist on the target instance.
One thought I had was to iterate through the JNDI space looking for "queue/"
prefixed JNDI names, but that seemed to be a bit of a kludge to me. Not to
mention, queues no longer will automatically be prefixed with "queue/" in
future JBoss releases.
Thanks for the help,
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
JBoss-user mailing list
Notice to recipient:
The information in this internet e-mail and any attachments is confidential
and may be privileged. It is intended solely for the addressee. If you are
not the intended addressee please notify the sender immediately by
telephone. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful.
When addressed to external clients any opinions or advice contained in this
internet e-mail are subject to the terms and conditions expressed in any
applicable governing terms of business or client engagement letter issued by
the pertinent Bank of America group entity.
If this email originates from the U.K. please note that Bank of America,
N.A., London Branch, Banc of America Securities Limited and Banc of America
Futures Incorporated are regulated by the Financial Services Authority.