title: Async consumer for Amazon sqs
body: <p>I am new to working with queues. 
  I am able to successfully post messages and receive them synchronously
  However, I am now trying to async now.</p>
  
  <p>The reference links provided by sqs suggests using jmsclient wrapper.
  And the link also mentions to use it if you already have a code that is integrated to a jms client. </p>
  
  <p><a href="http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/jmsclient.html#samples" rel="noreferrer">http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/jmsclient.html#samples</a></p>
  
  <p>But I am starting afresh
  I referred this example to send and recv messages synchronously.</p>
  
  <p><a href="https://github.com/aws/aws-sdk-java/blob/master/src/samples/AmazonSimpleQueueService/SimpleQueueServiceSample.java" rel="noreferrer">https://github.com/aws/aws-sdk-java/blob/master/src/samples/AmazonSimpleQueueService/SimpleQueueServiceSample.java</a></p>
  
  <p>Can I use the same code but implement it with a message listener?
  Any code examples will be appreciated.</p>