activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manuel Teira (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-2978) FailoverTransport sometimes reconnects on Connection.close()
Date Fri, 15 Oct 2010 11:50:40 GMT

     [ https://issues.apache.org/activemq/browse/AMQ-2978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Manuel Teira updated AMQ-2978:
------------------------------

    Attachment: ReconnectionOnClose.java

I'm attaching a test case, running a number of identical actions sequentially on an embedded
broker with a tcp connector:
1.-Adquire connection.
2.-Start connection
3.-Send a message
4.-Stop connection
5.-Close connection.

The ConnectionFactory has a TransportListener set to count the number of interruptions on
the transport. In my environment, it fails arround 10-20 times of 500.

> FailoverTransport sometimes reconnects on Connection.close()
> ------------------------------------------------------------
>
>                 Key: AMQ-2978
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2978
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.4.1
>         Environment: Windows 7, x86, activemq-5.4.1
>            Reporter: Manuel Teira
>            Priority: Minor
>         Attachments: ReconnectionOnClose.java
>
>
> FailoverTransport seems to suffer some race condition triggering reconnections on connection
close attempts. This is a confusing and non deterministic behaviour.

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