That sounds like the likely culprit.� I&#39;ll test that and let you know.� What I was hoping to accomplish, was to have the message queue, keep a copy of a message for an hour so that when a new consumer connected, he receives the last hour of messages.� I might have to add this logic to the applications somehow.<br>
<br><br><br><div class="gmail_quote">On Tue, Nov 10, 2009 at 10:26 AM, Matthew Sackman <span dir="ltr">&lt;<a href="mailto:matthew@lshift.net">matthew@lshift.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Nov 10, 2009 at 10:22:09AM -0700, Derek Burdick wrote:<br>
&gt; I have a durable queue and exchange I am sending persistent messages to.<br>
&gt; The exchange is set as fanout. �What I am seeing, is that the messages are<br>
&gt; stored to disk but never removed. �If a new consumer comes up, he gets the<br>
&gt; entire history of that queue.<br>
&gt;<br>
&gt; Is this the intended behavior of persistent fanout messages?<br>
<br>
</div></div>I suspect your consumer is not acknowledging messages. Messages are not<br>
forgotten until the client confirms that they have received the message<br>
by using basic.ack. This is required whether the client is doing<br>
basic.get or using basic.consume.<br>
<br>
Alternatively, in both basic.get and basic.consume, the noAck flag can<br>
be set, indicating to Rabbit that it should not expect acks from the<br>
client, and thus should forget about messages as soon as they&#39;ve been<br>
sent to a client.<br>
<br>
I hope that&#39;s of use. If my guess is wrong, do please let us know!<br>
<br>
Matthew<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<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>
</blockquote></div><br>