Why not check if the object's type is javax.jms.Queue?

-- 
Danny Yates
Assistant Vice President
Derivatives/Risk Systems
Bank of America
 


-----Original Message-----
From: Barlow, Dustin [mailto:[EMAIL PROTECTED] 
Sent: 28 May 2003 18:36
To: '[EMAIL PROTECTED]'
Subject: [JBoss-user] JBoss 3.2.1: Enumerating JMS Queue JNDI names via JMX
or ?


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,

Dustin Barlow


-------------------------------------------------------
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
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


_____________________________________________________________________ 
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.
_____________________________________________________________________ 




-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to