[rabbitmq-discuss] Monitoring an AMQP Exchange/Queue in Java...Problem with passive creation
Boisson, Franck
Franck.Boisson at mlp.com
Thu Sep 17 14:25:14 BST 2009
As you can see in my exemple, I am systematically aborting every temp
channel I am creating.
In a previous test, I was looking a the channel number I was getting for
the temporary one and it was the same for all.
I will have a look to your link tks
-----Original Message-----
From: Ben Hood [mailto:0x6e6562 at gmail.com]
Sent: Thursday, September 17, 2009 8:32 PM
To: Boisson, Franck
Cc: rabbitmq
Subject: Re: [rabbitmq-discuss] Monitoring an AMQP Exchange/Queue in
Java...Problem with passive creation
Franck,
On Thu, Sep 17, 2009 at 11:30 AM, Boisson, Franck
<Franck.Boisson at mlp.com> wrote:
> All I know for the moment is that, on the Java side, the problem
occure
> during the temporary channel creation (tmpChannel =
> this.amqpMainConnection.createChannel();). It do not raise any error
but
> it return null (wich raise after that a nullPointerException on my
> program).
Interesting. The createChannel should not usually return null. This
can happen for example if you exhaust the maximum amount of channels
per connection (which is a unsigned 16 bit integer). Are you creating
lots of channels and not closing them? Another possibility is a bug
that we fixed recently - see this thread for details:
http://www.nabble.com/Issue-in-Java-client-while-fetching-channel-td2481
4076.html
Ben
######################################################################
The information contained in this communication is confidential and
may contain information that is privileged or exempt from disclosure
under applicable law. If you are not a named addressee, please notify
the sender immediately and delete this email from your system.
If you have received this communication, and are not a named
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
######################################################################
More information about the rabbitmq-discuss
mailing list