Search code examples
ibm-mqibm-integration-bus

IBM Integration Bus choose which Queue read first


I have 5 input Queues, 5 message flows for each. After some processing messages from all queues go to one transport queue.

Is there a possibility to set a priority across queues, for example messages from input queue 1 will always be processed and put in the transport queue first?


Solution

  • It sounds like you need to set the message priority.

    You set the priority of a message (in the Priority field of the MQMD structure) when you put the message on a queue ... you can create messages having priorities between 0 (the lowest) and 9 (the highest).