|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Getting CurrentDepth From Clustered Queue |
« View previous topic :: View next topic » |
Author |
Message
|
Sandor Takats |
Posted: Mon Feb 12, 2007 1:58 pm Post subject: Getting CurrentDepth From Clustered Queue |
|
|
Newbie
Joined: 28 Apr 2004 Posts: 3
|
Hi There,
I am trying to get the current depth of a queue from within a VB.NET application. As per other postings regarding this task, I have am specifying both the MQOO_SET and MQOO_INQUIRE as the Open options. However, I always receive a 2085 error code from the AccessQueue method of the queue manager object. I know that the queue who's depth I am trying to determine is not local to the QM represented by the QM object but it is local to the QM that is clustered to that QM. Is there something else that I need to do?
I have tried both of the following with no success.
mqQueueMgr.AccessQueue(Me._putQueueName, MQ_INQUIRE_OPTIONS, _queueManagerName, "", "")
mqQueueMgr.AccessQueue(Me._putQueueName, MQ_INQUIRE_OPTIONS)
Thanks. _________________ The Sandman |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Feb 12, 2007 2:19 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can't inquire on qdepth on anything other than qlocals.
You can send PCF messages to other queue managers.
It's probably not worth your long term time and effort to write your own monitoring application. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|