title: Java: Receive answer from Windows Azure Service Bus Queue
body: <p>I'm trying to implement Request Response Queue using Windows Azure Service Bus Queue. I created two queues: Request and Response.</p>
  <p>My client side send message to Request queue, then my server side take this message from Request queue, do something and put response into Response Queue.
  The client side check Response queue if there are any messages. When I run only one client it's working fine.</p>
  <p>When I run more then one client, after some time clients side don't pull off any message from Response queue. This queue for sure isn't empty, because client side check how many messages are there.</p>
  <p>For receiving message I  use:</p>
  <blockquote>
  <p>ReceiveMessageOptions options = ReceiveMessageOptions.DEFAULT;</p>
  <p>options.setReceiveMode(ReceiveMode.PEEK_LOCK);</p>
  <p>options.setTimeout(20);</p>
  <p>ReceiveQueueMessageResult resultQueueMessage = service.receiveQueueMessage(responseQueueName);</p>
  <p>BrokeredMessage receivedMessage = resultQueueMessage.getValue();</p>
  </blockquote>
  <p>Any help would be appreciated,</p>
  <p>Asia</p>