title: JmsTemplate with RECEIVE_TIMEOUT_NO_WAIT doesn't retrieve messages from JMS queue
body: <p>Given I have ActiveMQ queue where many messages are already present.</p>
  
  <p>When I set receive timeout on <code>JmsTemplate</code> to <code>RECEIVE_TIMEOUT_NO_WAIT</code> which is equal to <code>-1</code>:</p>
  
  <pre><code>jmsTemplate.setReceiveTimeout(JmsTemplate.RECEIVE_TIMEOUT_NO_WAIT); 
  </code></pre>
  
  <p>and try to receive one of those messages:</p>
  
  <pre><code>Message msg = jmsTemplate.receive(queueName);
  </code></pre>
  
  <p>then <code>msg</code> is <code>null</code>, but it should not be according JavaDoc:</p>
  
  <pre><code>/**
   * Timeout value indicating that a receive operation should
   * check if a message is immediately available without blocking.
   */
  public static final long RECEIVE_TIMEOUT_NO_WAIT = -1;
  </code></pre>
  
  <p>Why is that?</p>
  
  <p>When I do:</p>
  
  <pre><code>jmsTemplate.setReceiveTimeout(1000);
  </code></pre>
  
  <p>then messages are retrieved.</p>