Igor,<br><br>You can get at the messages, but not in a particularly nice or scalable way. If you setup a consumer on the queue without auto-acknowledgment, then you&#39;ll receive all of the messages. If you then only acknowledge message B, and then close the channel, the messages will be returned to the queue (and redelivered to other consumers). This probably isn&#39;t an approach that is recommended however, since it starts to get very messy once you break beyond simplified examples such as the one you&#39;ve just posted.<br>
<br>Paul.<br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 8:58 AM, Igor Goryachev <span dir="ltr">&lt;<a href="mailto:igor@goryachev.org">igor@goryachev.org</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 class="im">Alexis Richardson &lt;<a href="mailto:alexis.richardson@gmail.com">alexis.richardson@gmail.com</a>&gt; writes:<br>
<br>
</div><div class="im">&gt;&gt; BTW, is it safe to implement i.e. custom methods or some other &#39;core&#39;<br>
&gt;&gt; features?<br>
&gt;<br>
&gt; I&#39;m not sure what you mean - do you mean modifying the source of the<br>
&gt; broker? �Or something else?<br>
<br>
</div>I meant modifying AMQP proto itself (then of course modifying broker and<br>
client source core accordingly).<br>
<br>
<br>
Well, yet another dummy question. Is it possible to get particular<br>
message from the queue? I.e. there three messages waiting in queue,<br>
&#39;message_a&#39;, &#39;message_b&#39; and &#39;message_c&#39;. Is there any chance to get<br>
&#39;message_b&#39; while not even touching other messages? I guess it is<br>
impossible, but I want to get sure.<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5"> � �Igor Goryachev � � � � � � �E-Mail/Jabber: <a href="mailto:igor@goryachev.org">igor@goryachev.org</a><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>
</div></div></blockquote></div><br>