title: IBM MQ - One to many message flow
body: <p>My question is about one to many message flow using a single queue in IBM MQ. I am new to MQ.</p>
  
  <p>Scenario - Suppose there are multiple processes reading from a single queue, when they read a message from the queue , do all of them get the same message.</p>
  
  <p>ie - Lets say there are no messages on the queues and two readers are blocked on it (executed the MQGET  on it).</p>
  
  <ol>
  <li><p>1 messages come on the queue (logically meant for process 1). Will both of them get the message as both were waiting (executed the MQGET  on it) or only to one process randomly.</p></li>
  <li><p>once the message is read is it removed from the queue.</p></li>
  <li><p>If messages are removed from queue after reading ,suppose process 1 is processing and a new message comes for it and instead process 2 gets it and is deleted. When process 1 tries to get it wont get any message. Is this possible.</p></li>
  </ol>
  
  <p>basically i want to know how to manage multiple processes on a single queue so that the messages go to right process and no message is missed.</p>