title: Issue with Get message from ActiveMQ Queue
body: <p>I am using ActiveMQ REST APIS to POST and GET the messages from queue.
  POST is always working but GET API is not working all the time. It is giving 204 No content messages but there are message in Queue.</p>
  
  <p>Am not able understand why it is giving like this. am i using wrong API to read the message, can any one help me out please.</p>
  
  <p>POST API:
  <a href="http://localhost:8161/api/message/TEST?type=queue&amp;clientId=test" rel="nofollow">http://localhost:8161/api/message/TEST?type=queue&amp;clientId=test</a></p>
  
  <p>GET API:
  <a href="http://localhost:8161/api/message/TEST?readTimeout=100&amp;type=queue&amp;clientId=consumerA&amp;oneShot=true" rel="nofollow">http://localhost:8161/api/message/TEST?readTimeout=100&amp;type=queue&amp;clientId=consumerA&amp;oneShot=true</a></p>