<font face="arial" size="2"><p style="margin:0;padding:0;font-family: arial;">Hi Randall,</p>
<p style="margin:0;padding:0;font-family: arial;">&nbsp;</p>
<p style="margin:0;padding:0;font-family: arial;">Thanks for your help. &nbsp;Yeah, Rabbit ignores nolocal... too bad... oh well, I will implement a filter after the fact I guess..</p>
<p style="margin:0;padding:0;font-family: arial;">&nbsp;</p>
<p style="margin:0;padding:0;font-family: arial;"><span style="font-size: 10pt; font-family: Arial, Verdana, sans-serif;">thanks again,</span></p>
<p style="margin:0;padding:0;font-family: arial;"><span style="font-size: 10pt; font-family: Arial, Verdana, sans-serif;">Matthew</span></p>
<p style="margin:0;padding:0;font-family: arial;">&nbsp;</p>
<p style="margin:0;padding:0;font-family: arial;">&nbsp;</p>
<p style="margin:0;padding:0;font-family: arial;">-----Original Message-----<br />From: "Randall Richard" &lt;randall@trellisapp.com&gt;<br />Sent: Wednesday, June 20, 2012 3:31pm<br />To: m.luchak@smartasking.com<br />Cc: rabbitmq-discuss@lists.rabbitmq.com<br />Subject: Re: [rabbitmq-discuss] Filter out messages from self<br /><br /></p>
<div id="SafeStyles1340223851" style="font-family: arial;">
<div>See&nbsp;<a href="http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-April/012458.html">http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2011-April/012458.html</a>.</div>
<div>AMQP defines no-local as a parameter to basicConsume which is intended to provide the feature you're requesting. &nbsp; However, AFAIK support for no-local is not implemented in RabbitMQ.</div>
<div>
<div>-Randall<br /><br />
<div class="gmail_quote">On Wed, Jun 20, 2012 at 2:38 PM,  <span dir="ltr">&lt;<a href="mailto:m.luchak@smartasking.com" target="_blank">m.luchak@smartasking.com</a>&gt;</span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><span style="font-family: arial;">
<p style="margin:0;padding:0;margin: 0; padding: 0;"><span style="font-size: 10pt;">Afternoon Everybody,</span></p>
<div><span style="font-family: arial; font-size: 10pt;">
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">I would like to implement a feature where a Rabbit client does not receive any messages published by itself. The client will be listening on an exclusive Q that is bound to exactly one exchange. &nbsp;That exchange will be bound to multiple exchanges.</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">I am about to implement this feature by filtering the messages after they have been received by the client using the props builder to identify the sender, but, I would like to know if there is a silver bullet that I have overlooked - some way to avoid receiving the messages in the first place (without cludging together all of the "other users" as binding keys).</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">Any quick fix that I am ignorant of?</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">Using:</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">Rabbit 2.8.1 broker running on Ubuntu 11</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">Java and C++ clients</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">persistent topic exchanges</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">persistent Qs</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">Flow:</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User1_Q1 -&gt;publish-&gt; Ex99</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User2_Q2 &lt;-receive&nbsp;<span style="font-size: 10pt;">&lt;- Ex2 </span><span style="font-size: 10pt;">&lt;- Ex99</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User3_Q3 &lt;-receive &lt;- Ex3<span style="font-size: 10pt;"> </span><span style="font-size: 10pt;">&lt;- Ex99</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User1_Q1 &lt;- Ex1<span style="font-size: 10pt;"> </span> x receive x&nbsp;&nbsp;<span style="font-size: 10pt;"> Ex99</span><span style="font-size: 10pt;"> //user who publishes message does not receive</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User3_Q3 -&gt;publish-&gt;&nbsp;<span style="font-size: 10pt;">Ex99</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User1_Q1 &lt;-receive&nbsp;<span style="font-size: 10pt;">&lt;- Ex1 </span><span style="font-size: 10pt;">&lt;- Ex99</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User2_Q2 &lt;-receive&nbsp;<span style="font-size: 10pt;">&lt;- Ex2 </span><span style="font-size: 10pt;">&lt;- Ex99</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">User3_Q3&nbsp;<span style="font-size: 10pt;"> &lt;- Ex3<span style="font-size: 10pt;"> </span><span style="font-size: 10pt;"> x receive x&nbsp;&nbsp;Ex99</span> </span><span style="font-size: 10pt;">//user who publishes message does not receive</span></p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
<p style="margin:0;padding:0;margin: 0; padding: 0;">&nbsp;</p>
</span></div>
</span><br />_______________________________________________<br /> rabbitmq-discuss mailing list<br /><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br /><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br /><br /></blockquote>
</div>
</div>
</div>
</div></font>