[rabbitmq-discuss] Monitoring an AMQP Exchange/Queue in Java...Problem with passive creation

Ben Hood 0x6e6562 at gmail.com
Thu Sep 17 13:31:48 BST 2009


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:


More information about the rabbitmq-discuss mailing list