Hi,<div><br></div><div>What I tried to convey is that in your code you can't say queue_bind('my_queue', ''); where '' is the anon exchange.</div><div><br></div><div>I thought the error "operation not permitted on the default exchange" you mentioned in your past email could be related to that.</div>
<div><br></div><div>-Alvaro</div><div><br><div class="gmail_quote">On Thu, Nov 17, 2011 at 12:44 PM, Nick Pateman <span dir="ltr"><<a href="mailto:nick.pateman@certivox.com">nick.pateman@certivox.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Alvaro,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sorry for the delayed reply. What do you mean exactly? I created the queue through the web interface as opposed to being created in code so it’s setup at
it’s default values.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Nick.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Alvaro Videla [mailto:<a href="mailto:videlalvaro@gmail.com" target="_blank">videlalvaro@gmail.com</a>]
<br>
<b>Sent:</b> 16 November 2011 17:19<br>
<b>To:</b> Nick Pateman<br>
<b>Cc:</b> Simon MacMullen; <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a></span></p><div><div class="h5"><br>
<b>Subject:</b> Re: [rabbitmq-discuss] Messages disappearing<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">You can't bind queues to the default exchange. Your new queue should be automatically bound to it.<u></u><u></u></p>
<div>
<p class="MsoNormal">On Wed, Nov 16, 2011 at 6:11 PM, Nick Pateman <<a href="mailto:nick.pateman@certivox.com" target="_blank">nick.pateman@certivox.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Aahaa, I had no idea to be honest. I've changed it to "" and have got an error out of it so that's one step closer...<br>
<br>
"operation not permitted on the default exchange"<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
-----Original Message-----<br>
From: <a href="mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com" target="_blank">rabbitmq-discuss-bounces@lists.rabbitmq.com</a> [mailto:<a href="mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com" target="_blank">rabbitmq-discuss-bounces@lists.rabbitmq.com</a>] On Behalf Of Simon MacMullen<br>
Sent: 16 November 2011 17:07<br>
To: <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
Subject: Re: [rabbitmq-discuss] Messages disappearing<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">On 16/11/11 17:02, Nick Pateman wrote:<br>
> amqp_cstring_bytes("amq.direct"),<br>
> amqp_cstring_bytes(queue_name),<br>
<br>
So have you set up a binding from the exchange "amq.direct" to your queue?<br>
<br>
"amq.direct" is not the default exchange that auto-routes to queues - you should use the name "" for that.<br>
<br>
Otherwise your messages will get to the exchange and then be dropped as unroutable. If you're looking at the exchanges tab in mgmt you would see your message rate there, but nothing in the queues tab - is that what you're seeing?<br>
<br>
Cheers, Simon<br>
<br>
--<br>
Simon MacMullen<br>
RabbitMQ, VMware<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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><u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div></div></div>
</div>
</blockquote></div><br></div>