Adding back to the list, sorry stupid email client.<br><div><br></div><div>would anyone know how this decision is made? When unacked messages get requeued to be sent? I know it happens if the client disconnects, but does it also happen on rollback?</div>
<div><br></div><div>Im trying to setup a system whereby if my subscriber picks up an item from the queue and for some reason is unable to handle it, the item gets readded to the queue</div><div><br></div><div><br></div><div class="gmail_quote">
On Tue, Dec 29, 2009 at 8:36 PM, Alexis Richardson <span dir="ltr">&lt;<a href="mailto:alexis.richardson@gmail.com" target="_blank">alexis.richardson@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Vishnu<br>
<div><br>
On Tue, Dec 29, 2009 at 2:57 PM, vishnu &lt;<a href="mailto:pathsny@gmail.com" target="_blank">pathsny@gmail.com</a>&gt; wrote:<br>
&gt; hi, sorry Im a bit confused. But the behavior of moving the message from the<br>
&gt; unacknowledge queue to the ready queue is already a part of rabbitmq.<br>
<br>
</div>In what way?<br>
<div><br>
<br>
&gt; There<br>
&gt; must be some magic constant somewhere which governs this musn&#39;t there?<br>
<br>
</div>If there were then it need not be time-based.<br>
<font color="#888888"><br>
alexis<br>
</font><div><div><br>
<br>
&gt; On Tue, Dec 29, 2009 at 7:18 PM, Alexis Richardson<br>
&gt; &lt;<a href="mailto:alexis.richardson@gmail.com" target="_blank">alexis.richardson@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Vishnu<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Dec 29, 2009 at 4:37 AM, vishnu &lt;<a href="mailto:pathsny@gmail.com" target="_blank">pathsny@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi<br>
&gt;&gt; &gt; � � I&#39;m trying to use rabbitmq for an web application thats close to<br>
&gt;&gt; &gt; synchronous. The main reason I&#39;m looking at rabbitmq is for the<br>
&gt;&gt; &gt; reliability<br>
&gt;&gt; &gt; and transactionality. The idea is for the webapplication to pump<br>
&gt;&gt; &gt; messages<br>
&gt;&gt; &gt; into the queue and for a down stream application to subscribe in<br>
&gt;&gt; &gt; acknowledgement mode and for each message start a transaction, attempt<br>
&gt;&gt; &gt; to<br>
&gt;&gt; &gt; process the message and if it fails for technical reasons, to rollback<br>
&gt;&gt; &gt; the<br>
&gt;&gt; &gt; transaction.<br>
&gt;&gt;<br>
&gt;&gt; OK.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; However, I would like to be able to configure the time for non-acked<br>
&gt;&gt; &gt; messages to get requeued to be picked up. Where can this be done?<br>
&gt;&gt;<br>
&gt;&gt; This and other &#39;time based&#39; behaviours are frequently requested, but<br>
&gt;&gt; *alas* are not yet built-in to RabbitMQ.<br>
&gt;&gt;<br>
&gt;&gt; However, don&#39;t give up. �You could create a consumer (in any language)<br>
&gt;&gt; which managed this for you, eg enforcing a disconnect after some time<br>
&gt;&gt; has passed. �Or, if you are feeling brave you could create a plugin to<br>
&gt;&gt; do this &#39;inside the broker&#39;. �Plugins have to be written in erlang.<br>
&gt;&gt;<br>
&gt;&gt; I hope that helps. �Perhaps the list will have more immediately useful<br>
&gt;&gt; suggestions.<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt; alexis<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt; thanks<br>
&gt;&gt; &gt; Vishnu<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; rabbitmq-discuss mailing list<br>
&gt;&gt; &gt; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
&gt;&gt; &gt; <a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>