<div dir="ltr">If I follow your flow, shouldn't consumer2 create a separate channel for it's stuff? �As it's unrelated to consumer1?<div><br></div><div>Jason</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Mar 12, 2014 at 1:19 PM, pkbasu <span dir="ltr"><<a href="mailto:pk_basu@hotmail.com" target="_blank">pk_basu@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Greetings,<br>
<br>
here is the flow of my program -<br>
<br>
1. Create a SimpleAmqpClient channel<br>
2. Consumer1 comes and created queues and bindings.<br>
3. BasicConsumeMessage is called on the channel, the one which consumes<br>
message for any open consumers<br>
4. We are waiting now for any message to come in.<br>
5. Consumer2 comes and tries to create queue and bindings.<br>
6. Consumer2 hangs since the channel is busy in step 4<br>
<br>
How do I make this work? Creating a separate channel for creating queues and<br>
bindings will not work since BasicConsumeMessage works only on consumers<br>
created by its own channel.<br>
<br>
Any help is greatly appreciated.<br>
<br>
Thanks.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://rabbitmq.1065348.n5.nabble.com/SimpleAmqpClient-Channel-usage-tp34067.html" target="_blank">http://rabbitmq.1065348.n5.nabble.com/SimpleAmqpClient-Channel-usage-tp34067.html</a><br>

Sent from the RabbitMQ mailing list archive at Nabble.com.<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>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Jason McIntosh<br><a href="https://github.com/jasonmcintosh/" target="_blank">https://github.com/jasonmcintosh/</a><br>573-424-7612</div>
</div>