|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ channel information thru Java |
« View previous topic :: View next topic » |
Author |
Message
|
tennisplayer007 |
Posted: Wed Aug 03, 2005 3:42 pm Post subject: MQ channel information thru Java |
|
|
Newbie
Joined: 03 Aug 2005 Posts: 3
|
Hey:
I am writing a java application to retrieve information from MQ Manager information. Thus far I have used PCF to get the Queue Depth and Queue Name. I was wondering how I might be able to get the Channel name and the number of Channels connected from the MQ Manager.
Thanks! |
|
Back to top |
|
 |
vennela |
Posted: Wed Aug 03, 2005 3:55 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Are you asking if you can get the channel info using PCF?
If yes, then the answer is yes. |
|
Back to top |
|
 |
tennisplayer007 |
Posted: Thu Aug 04, 2005 6:57 am Post subject: |
|
|
Newbie
Joined: 03 Aug 2005 Posts: 3
|
hey that is what I am asking - but how do I implement it? Help at your earliest please!! |
|
Back to top |
|
 |
wschutz |
Posted: Thu Aug 04, 2005 7:01 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
tennisplayer007 |
Posted: Thu Aug 04, 2005 7:03 am Post subject: |
|
|
Newbie
Joined: 03 Aug 2005 Posts: 3
|
Code Snippet!
PCFAgent agent;
int [] attrs =
{
CMQC.MQCA_Q_NAME,
CMQC.MQIA_CURRENT_Q_DEPTH
};
PCFParameter [] parameters =
{
new MQCFST (CMQC.MQCA_Q_NAME, "*"),
new MQCFIN (CMQC.MQIA_Q_TYPE, CMQC.MQQT_LOCAL),
new MQCFIL (CMQCFC.MQIACF_Q_ATTRS, attrs)
};
responses = agent.send (CMQCFC.MQCMD_INQUIRE_Q, parameters); |
|
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
|
|
|
|