activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kuhtz (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1771) Failover transport should always signal resume of transport
Date Thu, 05 Jun 2008 11:29:00 GMT
Failover transport should always signal resume of transport
-----------------------------------------------------------

                 Key: AMQ-1771
                 URL: https://issues.apache.org/activemq/browse/AMQ-1771
             Project: ActiveMQ
          Issue Type: Bug
          Components: Transport
    Affects Versions: 5.1.0
         Environment: WinXP, JDK5
            Reporter: Andreas Kuhtz
             Fix For: 5.2.0
         Attachments: amq-failover.patch

The FailoverTransport does currently not signal the initial resume of the transport (due to
race condition) nor the failure (if maxReconnectAttempts is 0) and therefore we don't know
if the connection is successfully connected or not.

The attached patch adds a sleep (copied from the failure processing part some lines below)
that ensures that the ??transportListener?? is set and the ??transportListener.transportResumed()??
is called.

-- 
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