[rabbitmq-discuss] SimpleAmqpClient Channel usage
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?
On Wed, Mar 12, 2014 at 1:19 PM, pkbasu <pk_basu at hotmail.com> wrote:
> 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
> bindings will not work since BasicConsumeMessage works only on consumers
> created by its own channel.
> Any help is greatly appreciated.
> View this message in context:
> Sent from the RabbitMQ mailing list archive at Nabble.com.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss