ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » How to browser/list all queues on a qm?

Post new topic  Reply to topic
 How to browser/list all queues on a qm? « View previous topic :: View next topic » 
Author Message
digulla
PostPosted: Mon Mar 07, 2005 4:10 am    Post subject: How to browser/list all queues on a qm? Reply with quote

Novice

Joined: 07 Mar 2005
Posts: 10

Hello,

I'm looking for an example code which shows how to get a list of all queues on a queue manager.

Thanks a lot,
_________________
Aaron Digulla
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 07, 2005 4:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Look at support pack ms0b.

It includes sample code that does exactly what you are asking.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
digulla
PostPosted: Mon Mar 07, 2005 6:12 am    Post subject: Reply with quote

Novice

Joined: 07 Mar 2005
Posts: 10

jefflowrey wrote:
Look at support pack ms0b.

Thanks a lot!
_________________
Aaron Digulla
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 07, 2005 6:30 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

But the only programs that should need to list queues on a queue manager are management/monitoring/reporting applications, not business applications.

So don't go off and do something like write your business app to list all the queues on a queue manager, and pick a queue to open based on it's name.

Use a deployment descriptor of some sort instead - a preference file or a trigger message or something.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
digulla
PostPosted: Mon Mar 07, 2005 6:36 am    Post subject: Reply with quote

Novice

Joined: 07 Mar 2005
Posts: 10

My "business app" is a GUI to monitor MQ queues and browse the contents
_________________
Aaron Digulla
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Mar 07, 2005 6:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

digulla wrote:
My "business app" is a GUI to monitor MQ queues and browse the contents


Like I said...
jefflowrey wrote:
But the only programs that should need to list queues on a queue manager are management/monitoring/reporting applications

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » How to browser/list all queues on a qm?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.