I am sorry for the misunderstanding, but I think it is exactly what I have done.<div>Now, I have 2 threads, and each thread uses its own connection and its own channel, without any share.</div><div>Yet, the error is still raised.</div>
<div><br></div><div>Thanks </div><div><br><div class="gmail_quote">2011/12/6 Gavin M. Roy <span dir="ltr"><<a href="mailto:gmr@myyearbook.com">gmr@myyearbook.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">
<div><span style="color:rgb(160,160,168)">On Tuesday, December 6, 2011 at 9:25 AM, gabriel adgeg wrote:</span></div>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px">
<span><div><div><div><br></div><div>I have looked to our source code, and I found that we were using the same channel in two different threads.</div><div>So I create a new channel (with its own SelectConnection) for the second thread... but the error is still raised.</div>
</div></div></span></blockquote></div><div>You should keep the use of pika isolated per thread. IE don't reshare a connection or channel across threads. </div><div><br>
</div>
</blockquote></div><br></div>