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.

Reply via email to