<span style="font-family: &#39;trebuchet ms&#39;, sans-serif; ">Sorry to hijack the discussion but I always thought that this class was very unsafe to use, although the implementation is stable.�</span><div><span style="font-family: &#39;trebuchet ms&#39;, sans-serif; ">As you point out the events are fired on the connection thread, which should not block. Now I am expecting that if there&#39;s a place in an application using RabbitMQ where there is a chance of blocking it is indeed callbacks on message deliveries, rather than the other events exposed by IModel or IConnection, therefore I would avoid using EventingBasicConsumer unless there&#39;s a reason to use it.</span><font face="trebuchet ms,sans-serif"><br>

</font><br><div class="gmail_quote">On Sun, Nov 20, 2011 at 11:01, Matthias Radestock <span dir="ltr">&lt;<a href="mailto:matthias@rabbitmq.com">matthias@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Jason,<div class="im"><br>
<br>
On 19/11/11 23:09, Jason J. W. Williams wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I see that that EventingBasicConsumer is still marked experimental.<br>
Is that true or is it safe to use for examples in our book?<br>
</blockquote>
<br></div>
It is probably safe to use.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
�We&#39;re trying to find an equivalent to the event loop in Pika that<br>
allows multiple consumption loops to be active non-blocking at the<br>
same time.<br>
</blockquote>
<br></div>
EventingBasicConsumer is blocking, i.e. it invokes the event handlers in the connection thread.<br>
<br>
Can you post the pika code you want to emulate?<br>
<br>
Matthias.<br>
______________________________<u></u>_________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.<u></u>rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/<u></u>cgi-bin/mailman/listinfo/<u></u>rabbitmq-discuss</a><br>
</blockquote></div><br></div>