[rabbitmq-discuss] SimpleAmqpClient Channel usage

Jason McIntosh mcintoshj at gmail.com
Wed Mar 12 18:41:14 GMT 2014


If I follow your flow, shouldn't consumer2 create a separate channel for
it's stuff?  As it's unrelated to consumer1?

Jason


On Wed, Mar 12, 2014 at 1:19 PM, pkbasu <pk_basu at hotmail.com> wrote:

> Greetings,
>
> here is the flow of my program -
>
> 1. Create a SimpleAmqpClient channel
> 2. Consumer1 comes and created queues and bindings.
> 3. BasicConsumeMessage is called on the channel, the one which consumes
> message for any open consumers
> 4. We are waiting now for any message to come in.
> 5. Consumer2 comes and tries to create queue and bindings.
> 6. Consumer2 hangs since the channel is busy in step 4
>
> How do I make this work? Creating a separate channel for creating queues
> and
> bindings will not work since BasicConsumeMessage works only on consumers
> created by its own channel.
>
> Any help is greatly appreciated.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://rabbitmq.1065348.n5.nabble.com/SimpleAmqpClient-Channel-usage-tp34067.html
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>



-- 
Jason McIntosh
https://github.com/jasonmcintosh/
573-424-7612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140312/059cb341/attachment.html>


More information about the rabbitmq-discuss mailing list