|
|
| Author |
Message |
|
| Guest |
Posted: Tue Oct 13, 2009 10:42 pm |
|
|
|
Guest
|
HI All:
For some reason when I create a channel using connection.createChannel it is 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 my connection and create new connection every time I create channel.
I do not know why createChannel returns null.
Any insights?
-- Siva Jagadeesan
Post received from mailinglist |
|
|
| Back to top |
|
| 0x6e6562 |
Posted: Tue Oct 13, 2009 11:18 pm |
|
|
|
User
Joined: 12 Jul 2007
Posts: 250
|
Siva,
On Tue, Oct 13, 2009 at 11:42 PM, Siva Jagadeesan <siva@runa.com> wrote:
> For some reason when I create a channel using connection.createChannel it is
> 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 my
> 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:
http://hopper.squarespace.com/blog/2009/8/31/hotspot-arithmetic.html
However, this may not be the cause in your case.
Please can you send a cut down version of the code that reproduces the symptom.
Ben
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Wed Oct 14, 2009 1:33 am |
|
|
|
Guest
|
HI Ben:
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 returning null.
I changed my code to call createChannel(int channelNumber) ...it seems to be working ... it has processed like 10 k records. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|