Discussion:
HowTo find number of waiting messages in async queue?
(too old to reply)
Wolfgang Röckelein
2005-11-28 15:40:33 UTC
Permalink
Hi,

I am trying to find out the number of waiting messages in an async
outgoing queue...Since browsing of remote queues is not allowed, this
seems to be a problem...

Thanks,
Wolfgang
vijay
2005-11-29 03:28:27 UTC
Permalink
Hi,

Create a QueueManager Rule and modify the transmit(MQeQueueProxy)
method.
for eg:
boolean transmit(MQeQueueProxy queue){
System.out.println("Messages waiting =
"+queue.getNumberOfMessages());
return true;
}


regards,
Vijay
Wolfgang Röckelein
2005-12-02 07:59:38 UTC
Permalink
Hi,
Post by vijay
Create a QueueManager Rule and modify the transmit(MQeQueueProxy)
method.
Thanks. However, I have still have sever problems, see news://news.software.ibm.com:119/dmouo4$9du2$***@news.boulder.ibm.com

Regards,
Wolfgang

Loading...