title: Unable to get message from queue in IBM websphere MQ
body: <p>I am connecting remotely to MQ on the server and i installed MQ client v6.0 on my machine.
  I am able to put the message into the queue but i am unable to get the message from the same queue the output is "RC2033: MQRC_NO_MSG_AVAILABLE"</p>
  
  <p>Can anyone please help me to find the issue?</p>
  
  <p>Will this be due to properties of the queue?</p>
  
  <p>The following is the code which i am using to pop the message :</p>
  
  <p><strong>Pop Message:</strong></p>
  
  <pre><code>queue = mqQMgr.AccessQueue("queue_name", MQC.MQOO_FAIL_IF_QUIESCING + MQC.MQOO_INPUT_SHARED);
  MQMessage queueMessage = new MQMessage();
  queueMessage.Format = MQC.MQFMT_STRING;
  MQGetMessageOptions queueGetMessageOptions = new MQGetMessageOptions();
  queueGetMessageOptions.Options = MQC.MQGMO_WAIT;
  queueGetMessageOptions.MatchOptions = MQC.MQMO_NONE;
  queueGetMessageOptions.WaitInterval = 1000;
  queue.Get(queueMessage, queueGetMessageOptions);
  tbPoptxt.Text = "Message No" + count + ":" + queueMessage.ReadString(queueMessage.MessageLength);
  </code></pre>
  
  <p><strong>PUSH CODE</strong></p>
  
  <pre><code>int optons = MQC.MQOO_OUTPUT + MQC.MQOO_FAIL_IF_QUIESCING;//Queue which opens with options output
          queue = mqQMgr.AccessQueue("queue_name", optons);
          MQMessage queueMessage = new MQMessage();
          queueMessage.WriteString(tbPushtxt.Text.ToString());
          queueMessage.Format = MQC.MQFMT_STRING;
          MQPutMessageOptions queuePutMessageOptions = new MQPutMessageOptions();
          queuePutMessageOptions.Options = MQC.MQGMO_SYNCPOINT | MQC.MQGMO_FAIL_IF_QUIESCING;
          queue.Put(queueMessage, queuePutMessageOptions);
  </code></pre>
  
  <p>mqQMgr.Commit();</p>
  
  <p>I am using same queue for putting a message and poping a message</p>