title: Spring JMS listener acknowledging even when exception
body: <p>I am using JMS to send/receive messages to my SQS queue, however i am unable to redeliver the message when there is an exception even while using client_acknowledge. How to achieve this?
  I tried a simple test,</p>
  
  <pre><code>@JmsListener(destination = "test-normalqueue")
  public void receiveNormalQueue(String message)
  {
  
      try {
          logger.info("message received in normal queue: " + message);
          throw new NullPointerException();
  
      } catch (Exception e) {
  
          logger.error(LoggingUtil.getStackTrace(e));;
      }
  
  }
  </code></pre>
  
  <p>Even after exception message doesnt come back to queue.</p>
  
  <pre><code>@Bean
  public DefaultJmsListenerContainerFactory jmsListenerContainerFactory() {
      DefaultJmsListenerContainerFactory factory = new DefaultJmsListenerContainerFactory();
      factory.setConnectionFactory(getSQSConnectionFactory());
      factory.setConcurrency("1-2");
      factory.setSessionAcknowledgeMode(Session.CLIENT_ACKNOWLEDGE);
      return factory;
  }
  </code></pre>