2011/9/10 Praveen M <span dir="ltr"><<a href="mailto:lefthandmagic@gmail.com">lefthandmagic@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I was wondering if someone could explain this behavior. I'm using the java client and the latest 2.6.0 build of the server.</blockquote></div><br>It is perfectly fine to use the same channel for consuming and publishing messages. I cannot tell without seeing your code but what you are observing is likely to be the blocking behavior of QueueingConsumer.<br clear="all">
<div><br></div><div>There is one downside to sharing channels this way: handling channel-level exceptions may get trickier/require you to keep more state around. </div>-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br>
<a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br><br>