Results 1 to 2 of 2

Thread: JMSPriority

  1. #1
    Join Date
    Feb 2006
    Posts
    7

    Default JMSPriority

    I have also raised this question in IBM WS MQ forum.

    Is there no way to enforce strict priority when receiving messages except by having a home grown strategy?

    TIA
    Last edited by skhattak; Apr 21st, 2006 at 12:01 PM.

  2. #2
    Join Date
    Feb 2006
    Posts
    7

    Default solution

    By default WS MQ Queues are set to MQMDS_FIFO not MQMDS_PRIORITY.
    For reference see http://publib.boulder.ibm.com/infoce...oc/js02965.htm

    One way to make the queue MQMDS_PRIORITY is:
    runmqsc <your que mgr>
    alter qlocal(<your queue>.LOCAL.QUEUE) MSGDLVSQ(PRIORITY)

    But bear in mind this piece of advice:
    http://www.mqseries.net/phpBB2/viewtopic.php?t=312

    Now the priority is working fine.
    "Hope, it is the quintessential human delusion simultaneously the source of your greatest strength and your greatest weakness" - the Architect from The Matrix Reloaded

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •