Topic
2 replies Latest Post - ‏2005-12-02T07:59:38Z by SystemAdmin
SystemAdmin
SystemAdmin
684 Posts
ACCEPTED ANSWER

Pinned topic HowTo find number of waiting messages in async queue?

‏2005-11-28T15:40:33Z |
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
Updated on 2005-12-02T07:59:38Z at 2005-12-02T07:59:38Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    684 Posts
    ACCEPTED ANSWER

    Re: HowTo find number of waiting messages in async queue?

    ‏2005-11-29T03:28:27Z  in response to SystemAdmin
    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

    • SystemAdmin
      SystemAdmin
      684 Posts
      ACCEPTED ANSWER

      Re: HowTo find number of waiting messages in async queue?

      ‏2005-12-02T07:59:38Z  in response to SystemAdmin
      Hi,

      vijay wrote:
      > 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$1@news.boulder.ibm.com

      Regards,
      Wolfgang