[rabbitmq-discuss] Connection.createChannel returns null
siva at runa.com
Wed Oct 14 02:33:24 BST 2009
We are using RabbitMQ 1.6
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
I changed my code to call createChannel(int channelNumber) ...it seems to be
working ... it has processed like 10 k records.
I will update ...
-- Siva Jagadeesan
On Tue, Oct 13, 2009 at 4:18 PM, Ben Hood <0x6e6562 at gmail.com> wrote:
> On Tue, Oct 13, 2009 at 11:42 PM, Siva Jagadeesan <siva at runa.com> wrote:
> > For some reason when I create a channel using connection.createChannel it
> > returning null. When I throw that connection and create a new connection
> > from then on it returns a channel for one time ... so i have to discard
> > connection and create new connection every time I create channel.
> > I do not know why createChannel returns null.
> There is one known issue with createChannel returning null, which has
> been fixed in 1.7.0.
> This is documented here:
> However, this may not be the cause in your case.
> Please can you send a cut down version of the code that reproduces the
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss