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 » Get all queues from Q Manager

Post new topic  Reply to topic
 Get all queues from Q Manager « View previous topic :: View next topic » 
Author Message
yarlagaddag
PostPosted: Fri May 11, 2007 8:32 am    Post subject: Get all queues from Q Manager Reply with quote

Apprentice

Joined: 24 Aug 2004
Posts: 28
Location: Bangalore

Hi

Is there any base java API to get all the local queues from Q manager? If so, could you pls let me know.

Thx
yarlagaddag
_________________
Gopi
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
jefflowrey
PostPosted: Fri May 11, 2007 8:35 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Why do you want this?

It's poor application design to have a regular application look at the qmgr before choosing what queue to read.

And it's probably not worth your time to write your own monitoring application.

The only way, by the way, to get a list of queues from a program is to use PCF messages (or call out to a shell and exec runmqsc).
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
yarlagaddag
PostPosted: Fri May 11, 2007 8:39 am    Post subject: Reply with quote

Apprentice

Joined: 24 Aug 2004
Posts: 28
Location: Bangalore

I wanted to get to know off the hand what are all the queues those are availble in the Q manager, that I am connected to. Basically I am writing an application to collect the statistics from Q manager like, how many queues , and current depth, message rate etc., or othewrise is there any base java API to get this info directly from Q manager??
_________________
Gopi
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
marcin.kasinski
PostPosted: Fri May 11, 2007 8:50 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

yarlagaddag wrote:
is there any base java API to get this info directly from Q manager??


PCF + Accounting and statistics could help you with it.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
yarlagaddag
PostPosted: Fri May 11, 2007 8:51 am    Post subject: Reply with quote

Apprentice

Joined: 24 Aug 2004
Posts: 28
Location: Bangalore

Thanks Marcini.. Is there any Java API corresponding to this available??
_________________
Gopi
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
marcin.kasinski
PostPosted: Fri May 11, 2007 8:53 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

yarlagaddag wrote:
Thanks Marcini.. Is there any Java API corresponding to this available??



PCF JAVA API.

http://www-1.ibm.com/support/docview.wss?rs=203&uid=swg24000668&loc=en_US&cs=utf-8&lang=en
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Get all queues from Q 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.