Author |
Message
|
digulla |
Posted: Mon Mar 07, 2005 4:10 am Post subject: How to browser/list all queues on a qm? |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Mar 07, 2005 4:40 am Post subject: |
|
|
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 |
|
 |
digulla |
Posted: Mon Mar 07, 2005 6:12 am Post subject: |
|
|
Novice
Joined: 07 Mar 2005 Posts: 10
|
jefflowrey wrote: |
Look at support pack ms0b. |
Thanks a lot! _________________ Aaron Digulla |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Mar 07, 2005 6:30 am Post subject: |
|
|
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 |
|
 |
digulla |
Posted: Mon Mar 07, 2005 6:36 am Post subject: |
|
|
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 |
|
 |
jefflowrey |
Posted: Mon Mar 07, 2005 6:42 am Post subject: |
|
|
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 |
|
 |
|