Hi,<div><br><div>   I am wondering in Rabbit MQ, can consumed messages be kept for certain period of time, so that it can be replayed later?</div></div><div><br></div><div>According to the doc:</div><div><br></div><div><p style="clear:left;color:rgb(85,85,85);font-family:Verdana,sans-serif;font-size:13px;line-height:18px;text-align:left;background-color:rgb(255,255,255)">
:when should the AMQP broker remove messages from queues? The AMQP 0-9-1 specification proposes two choices:</p><ul style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;color:rgb(85,85,85);font-family:Verdana,sans-serif;font-size:13px;line-height:18px;text-align:left;background-color:rgb(255,255,255)">
<li style="list-style-type:none;background-image:url(&#39;http://www.rabbitmq.com/img/li.gif&#39;);background-color:initial;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:3px;padding-right:0px;padding-bottom:2px;padding-left:10px;background-repeat:no-repeat no-repeat">
After broker sends a message to an application (using either <span class="code " style="color:rgb(51,51,51);font-family:&#39;Courier New&#39;,Courier,monospace;font-size:small;white-space:nowrap">basic.deliver</span> or <span class="code " style="color:rgb(51,51,51);font-family:&#39;Courier New&#39;,Courier,monospace;font-size:small;white-space:nowrap">basic.get-ok</span> AMQP methods).</li>
<li style="list-style-type:none;background-image:url(&#39;http://www.rabbitmq.com/img/li.gif&#39;);background-color:initial;margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:3px;padding-right:0px;padding-bottom:2px;padding-left:10px;background-repeat:no-repeat no-repeat">
After the application sends back an acknowledgement (using <span class="code " style="color:rgb(51,51,51);font-family:&#39;Courier New&#39;,Courier,monospace;font-size:small;white-space:nowrap">basic.ack</span> AMQP method).</li>
</ul><div style="text-align:left"><font color="#555555" face="Verdana, sans-serif"><span style="line-height:18px"><br></span></font></div></div><div style="text-align:left">(<a href="http://www.rabbitmq.com/tutorials/amqp-concepts.html" style="text-align:-webkit-auto">http://www.rabbitmq.com/tutorials/amqp-concepts.html</a>)</div>
<div style="text-align:left"><br></div><div style="text-align:left">It seems not possible to do so. Basically what we need is :</div><div style="text-align:left"><br></div><div style="text-align:left">1)  User to decide when to remove message from queue</div>
<div style="text-align:left"><br></div><div style="text-align:left">2)  Replay message that has been consumed.</div><div style="text-align:left"><br></div><div style="text-align:left">Is Rabbit MQ suitable tool for such requirements?</div>
<div style="text-align:left"><br></div><div style="text-align:left">Thanks</div><div style="text-align:left"><br></div>