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 » General IBM MQ Support » Help! How to get all queue name for specified queue manager?

Post new topic  Reply to topic
 Help! How to get all queue name for specified queue manager? « View previous topic :: View next topic » 
Author Message
mr_shuchun
PostPosted: Thu Sep 21, 2006 11:01 pm    Post subject: Help! How to get all queue name for specified queue manager? Reply with quote

Newbie

Joined: 21 Sep 2006
Posts: 9

Hi,
Appreciate if anyone can help me solve two problems below, I had already researched for a long time.
1. how to get all queue name for specified queue manager with APIs provided by MQ Series? it's best to use java API. if cannot, other APIs also are ok.
2. how to get the subscriber queue name with subcriber name and client id (MQ Topic has been defined to a subscriber queue for each subscriber. when a new subscriber is registered, MQ Series will create a subscriber queue using the nominated pattern )? it's best to use java API. if cannot, other APIs also are ok.

Regards,
Back to top
View user's profile Send private message MSN Messenger
elvis_gn
PostPosted: Thu Sep 21, 2006 11:09 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi mr_shuchun,

Search for the pcf jar, google it...that should solve ur problem.

Regards.
Back to top
View user's profile Send private message Send e-mail
mr_shuchun
PostPosted: Fri Sep 22, 2006 12:48 am    Post subject: Reply with quote

Newbie

Joined: 21 Sep 2006
Posts: 9

elvis_gn wrote:
Hi mr_shuchun,

Search for the pcf jar, google it...that should solve ur problem.

Regards.


Thanks, I had already looked though those pdf documents related to IBM Wherepare MQ Series. but I didn't find valuable information.
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Fri Sep 22, 2006 1:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

To clarify & expand what elvis_gn is getting at, you need to use PCF to obtain the queue names etc. You'll find all the valuable information you need in the documentation and/or infocentre; or via google of course.

Happy Reading!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Fri Sep 22, 2006 1:23 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Thanks Vitor,

mr_shuchun
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000668&loc=en_US&cs=utf-8&lang=en

Regards.
Back to top
View user's profile Send private message Send e-mail
mr_shuchun
PostPosted: Sun Sep 24, 2006 11:57 pm    Post subject: Reply with quote

Newbie

Joined: 21 Sep 2006
Posts: 9

elvis_gn wrote:
Thanks Vitor,

mr_shuchun
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000668&loc=en_US&cs=utf-8&lang=en

Regards.


thanks a lot ! you are so good a man!

it's me that misunderstand you. I would think of "pcf" as "pdf" lah.

I have solved my first problem. but would you like to provide more hlep for second problem. I don't know how to find the durable subscriber queue name according to durable subscriber name. I cannot find how MQ created/named subscriber queue when a durable subscriber is registered.
Back to top
View user's profile Send private message MSN Messenger
mr_shuchun
PostPosted: Mon Sep 25, 2006 12:04 am    Post subject: Reply with quote

Newbie

Joined: 21 Sep 2006
Posts: 9

Vitor wrote:
To clarify & expand what elvis_gn is getting at, you need to use PCF to obtain the queue names etc. You'll find all the valuable information you need in the documentation and/or infocentre; or via google of course.

Happy Reading!

Hi Vitor,
Thank you too.
Back to top
View user's profile Send private message MSN Messenger
mr_shuchun
PostPosted: Mon Sep 25, 2006 12:26 am    Post subject: Reply with quote

Newbie

Joined: 21 Sep 2006
Posts: 9

mr_shuchun wrote:
elvis_gn wrote:
Thanks Vitor,

mr_shuchun
http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000668&loc=en_US&cs=utf-8&lang=en

Regards.


thanks a lot ! you are so good a man!

it's me that misunderstand you. I would think of "pcf" as "pdf" lah.

I have solved my first problem. but would you like to provide more hlep for second problem. I don't know how to find the durable subscriber queue name according to durable subscriber name. I cannot find how MQ created/named subscriber queue when a durable subscriber is registered.


Some Supplements:

1.define and setup TCF and T with non-share mode. see below:

DEFINE TCF(ptest.multiq.tcf) QMANAGER(sat1.queue.manager) TRANSPORT(client) HOSTNAME(host) BROKERSUBQ(SYSTEM.JMS.ND.PTEST.*)

DEFINE T(multiqpt1) BVER(V1) TOPIC(test/topic1) BROKERDURSUBQ(SYSTEM.JMS.D.PTEST.*)

2. create a durable subscriber with subscriber name and client id with JMS.

3. I observe via runmqsc that a new subscriber queue named SYSTEM.JMS.D.PTEST.4512490420001C07 is created
it seems its name is random generated.
4.how to determine this subsciber queue's name with client id and durable subsciber name? I want to monitor this subscriber queue.
Back to top
View user's profile Send private message MSN Messenger
jefflowrey
PostPosted: Mon Sep 25, 2006 1:41 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can use amqspsd to list the current subscribers.

It's in the samples directory.

Or you can download the newest Support Pack
_________________
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 » General IBM MQ Support » Help! How to get all queue name for specified queue manager?
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.