NetworkConnector is leaking a thread if broker disconnects
----------------------------------------------------------
Key: AMQ-1518
URL: https://issues.apache.org/activemq/browse/AMQ-1518
Project: ActiveMQ
Issue Type: Bug
Components: Broker
Affects Versions: 5.0.0
Environment: use MessageBroker 5.0.0.5, Windows, using
NetworkConnector with duplex set to true
Reporter: Rob Davies
Assignee: Rob Davies
Fix For: 5.1.0
Consider the following scenario: Two brokers A and B. Broker B sets up a
NetworkConnector to Broker A using a static URL list and setting duplex ="true"
(see attached configuration). At runtime Broker B will correctly connect to
Broker A. jconsole shows a NetworkBridge being set up.
For every network bridge that gets set up, three threads get started in Broker
A, e.g:
VMTransport: vm://localhost#5
ActiveMQ Transport: tcp://host:4533
ActiveMQ Connection Dispatcher: /host:4533
Now, when Broker B disconnects, the network bridge will be closed down and the
above threads need to cleaned up. The first two threads do get closed
correctly, however the Connection Dispatcher thread stays alive and does not
get closed. We are leaking this thread!
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.