activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Davies (JIRA)" <>
Subject [jira] Resolved: (AMQ-1518) NetworkConnector is leaking a thread if broker disconnects
Date Sun, 16 Dec 2007 20:17:26 GMT


Rob Davies resolved AMQ-1518.

    Resolution: Fixed

Fixed by revision 604689

> NetworkConnector is leaking a thread if broker disconnects
> ----------------------------------------------------------
>                 Key: AMQ-1518
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>         Environment: use MessageBroker, 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.

View raw message