title: Resend JMS message if response is not received
body: <p>I am trying to build a simple chat app using Java Servlets and JMS.</p>
  
  <p>I have set up two channels(msg and ack).</p>
  
  <p>msg to send the message and ack to receive the acknowledgement.</p>
  
  <p>How do I send the message again if the acknowledgement is not received within a specified time?</p>
  
  <p>Please ask if more details are required.  </p>