|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
list of queues in a queue manager |
« View previous topic :: View next topic » |
Author |
Message
|
javaforvivek |
Posted: Thu Aug 08, 2002 2:21 am Post subject: list of queues in a queue manager |
|
|
 Master
Joined: 14 Jun 2002 Posts: 282 Location: Pune,India
|
Hello,
I'm developing one application using IBM-MQSeries version 5.2 at the server side and MQSeries for Java at the client side. My client needs to know the names of the queues on his queuemanager.
How can I get a list of all queue names present on a particular queuemanager using the Java code??
Can anybody help me out?? _________________ Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth. |
|
Back to top |
|
 |
jhalstead |
Posted: Thu Aug 08, 2002 5:02 am Post subject: |
|
|
 Master
Joined: 16 Aug 2001 Posts: 258 Location: London
|
Couldn't you put a PCF message onto the qmgrs SYSTEM.ADMIN.COMMAND.QUEUE to inquire about all queues, this can be further refined by type?
One message should come back per defined queue.
Take a look at the MQSeries Programmable System Management guide.
I've never done this type of thing with Java though - don't see why it should be different! |
|
Back to top |
|
 |
bduncan |
Posted: Thu Aug 08, 2002 11:05 am Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
There have been quite a few discussions on this subject in the past. Please use the search tool on this site to find them. You'll get some pretty good explanations of how to do this. _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Aug 08, 2002 8:50 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
Hi,
Go get SupportPac "MS0B.zip" from IBM's MQ SupportPac page at
http://www-4.ibm.com/software/ts/mqseries/txppacs/txpm1.html
you will find both documentation and code samples for programming PCF via Java (with several list of queues examples).
Right now Xephon has an article and Java / PCF samples at their web site for free. Go to the following web site and download the September 1999 article and code:
http://www.xephon.com/journals/more/MQ
Note: To new MQ users, the search button on this web page (top-right corner) works very well.
later
Roger... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|