title: How to retrieve older messages in ActiveMQ queue
body: <p>Iam working on ActiveMQ application where iam using a consumer which uses Session.CLIENT_ACKNOWLEDGE.</p>
  
  <p>Iam sending the messages received from queue in consumer to a webservice.Assume if i don do message.acknowledge() all the messages sent to webservice are back on the queue in enqueued state.</p>
  
  <p>My question is how to retrieve the messages again from the queue and use it.I used <strong>retroactive=true</strong> and tried <strong>redelivery</strong> also but all of them are failing.</p>
  
  <p>How to avoid this.</p>