HI Ben:<div><br></div><div>We are using RabbitMQ 1.6</div><div><br></div><div>It is simple code where we use one connection to create channels (almost 100K) but it starts returning null after creating 500 of them.So I discard that connection and create a new connection. But when I create channel from new connection , it creates only one channel and after that it keeps returning null.</div>
<div><br></div><div>I changed my code to call createChannel(int channelNumber) ...it seems to be working ... it has processed like 10 k records. </div><div><br></div><div>I will update ...</div><div><br></div><div>-- Siva Jagadeesan<br>
<br><div class="gmail_quote">On Tue, Oct 13, 2009 at 4:18 PM, Ben Hood <span dir="ltr"><<a href="mailto:0x6e6562@gmail.com">0x6e6562@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Siva,<br>
<div><div></div><div class="h5"><br>
On Tue, Oct 13, 2009 at 11:42 PM, Siva Jagadeesan <<a href="mailto:siva@runa.com">siva@runa.com</a>> wrote:<br>
> For some reason when I create a channel using connection.createChannel it is<br>
> returning null. When I throw that connection and create a new connection ...<br>
> from then on it returns a channel for one time ... so i have to discard my<br>
> connection and create new connection every time I create channel.<br>
> I do not know why createChannel returns null.<br>
<br>
</div></div>There is one known issue with createChannel returning null, which has<br>
been fixed in 1.7.0.<br>
<br>
This is documented here:<br>
<a href="http://hopper.squarespace.com/blog/2009/8/31/hotspot-arithmetic.html" target="_blank">http://hopper.squarespace.com/blog/2009/8/31/hotspot-arithmetic.html</a><br>
<br>
However, this may not be the cause in your case.<br>
<br>
Please can you send a cut down version of the code that reproduces the symptom.<br>
<font color="#888888"><br>
Ben<br>
</font></blockquote></div><br></div>