title: How to send and receive a Java Object from Amazon SQS
body: <p>How do I send and receive a Java Object from SQS? For instance, I have a java object Log. I send the object to the message queue as</p>
  <pre><code>this.getSqs().sendMessage(new SendMessageRequest(myQueueUrl, log.toString());
  </code></pre>
  <p>However, at the time of retrieving the message from queue, I want to be able to retrieve it as <code>List&lt;Log&gt;</code> and use it as a java Log object inside my application. Any pointers on how to do that?</p>