activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Diego Belfer (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1451) FailoverTransport bad handling of InterruptedException in wait loop.
Date Mon, 08 Oct 2007 23:56:22 GMT
FailoverTransport bad handling of InterruptedException in wait loop.
--------------------------------------------------------------------

                 Key: AMQ-1451
                 URL: https://issues.apache.org/activemq/browse/AMQ-1451
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 4.1.1
            Reporter: Diego Belfer


The forum post http://www.nabble.com/Infinite-loop-if-FailoverTransport-is-interrupted-tf3758516s2354.html#a10799543
refers to this issue.

The InterruptedException should be propagated.  In addition, after the thread is interrupted,
It starts spinning without waiting because the wait() call is immediately exit due to the
Thread.currentThread().interrupt()  invoked in the catch block.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message