activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mers <>
Subject Re: JMX preventing connector from stopping.
Date Wed, 07 Feb 2007 15:24:32 GMT

Hi James,

I tried the same test with the latest 4.2 snapshot but I'm getting the same

I wrote a short program that demonstrates the problem. It's called . Notice that if the
ENABLE_JMX boolean in BrokerDisconnect is set to true, the connection won't
be notified that the transport connector was stopped.

I'll try to dig into the ActiveMQ source code to see why JMX is preventing
the listeners from being called but you could probably figure out what's
going on much faster than I can.

Any help would be appreciated.

James.Strachan wrote:
> On 2/5/07, mers <> wrote:
>> I'm stopping a broker's TransportConnector with the connector's stop()
>> method. If JMX is disabled, stopping the connector correctly fires an
>> active
>> connection's ExceptionListener. If JMS is enabled, the Listener doesn't
>> get
>> fired.
>> Is this expected behaviour?
> No, not at all. I remember some fixes being applied in this area in
> the 4.2 trunk - I wonder could you try out the current 4.2-SNAPSHOT
> build & see if this problem has been fixed?
> -- 
> James
> -------

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message