activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Lugt (JIRA)" <>
Subject [jira] Assigned: (AMQ-990) Leaving threads running if Connection.Dispose fails.
Date Tue, 24 Oct 2006 10:55:02 GMT
     [ ]

Rob Lugt reassigned AMQ-990:

    Assignee: james strachan

Hi James.  This is resolved by the patch supplied for AMQ-999. Please review and resolve this
issue if you are satisfied.  

Rob Lugt

> Leaving threads running if Connection.Dispose fails.
> ----------------------------------------------------
>                 Key: AMQ-990
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: NMS (C# client)
>            Reporter: Pawel Niewiadomski
>         Assigned To: james strachan
> I faced today following error - in Connection.Dispose call to DisposeOf(ConnectionId);
fails with exception. This causes Connection.Dispose to be aborted leading to thread responsible
for communication not to be joined. I'm talking about the thread created in TcpTransport.
> closing = true;
> DisposeOf(ConnectionId); // this causes exception and aborts further execution on this
> sessions.Clear();
> transport.Oneway(new ShutdownInfo());
> transport.Dispose(); // this is responsible for joining the thread and closing sockets
> closed = true;
> In summary - thread is still running and we can't get rid of it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message