Hi all,<br><br>With rabbitmq-c, it is possible to bind on different channels from different threads?<br><br>Basically, I'm not sharing any of these between the threads: amqp_connection_state_t, socket, channel.<br><br>Here is the "examples/amqp_consumer.c" sample code modified for 2 threads: http://codepad.org/zPa91lbr. I have also attached the code for your reference.<br><br>I get this error from the second thread : <br><br>"Declaring queue: server connection error 504, message: CHANNEL_ERROR - expected 'channel.open'"<br><br>The README clearly states that it is valid to have different connections, sockets and channels per thread (last section): http://hg.rabbitmq.com/rabbitmq-c/file/fb6fca832fd2/README<br><br>Can someone give me an insight into where I am going wrong or if it is a limitation with rabbitmq-c?<br><br>Cheers,<br>Arun<br>