activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rob Lugt (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-995) An unhandled exception in the TcpTransports' reader thread should close the connection (and inform the app)
Date Tue, 24 Oct 2006 10:29:02 GMT
     [ https://issues.apache.org/activemq/browse/AMQ-995?page=all ]

Rob Lugt updated AMQ-995:
-------------------------

    Attachment: amq995-patch.txt

Note: This patch requires revised version of AtomicBoolean (attached)

> An unhandled exception in the TcpTransports' reader thread should close the connection
(and inform the app)
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-995
>                 URL: https://issues.apache.org/activemq/browse/AMQ-995
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: NMS (C# client)
>    Affects Versions: 4.0.2
>         Environment: Windows
>            Reporter: Rob Lugt
>         Assigned To: james strachan
>         Attachments: amq995-patch.txt
>
>
> If the reader thread throws an exception (e.g. IOException) then the socket should be
closed to prevent further messages being sent to the broker. If an exception is thrown during
the marshalling of a message then there's no way for the stream to be set to the beginning
of the next message, so all communication with the broker should cease at that point.  Similarly,
if the broker is killed, an IOException will probably be detected in the read thread first.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message