You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Manuel Teira (JIRA)" <ji...@apache.org> on 2010/10/15 13:50:40 UTC
[jira] Updated: (AMQ-2978) FailoverTransport sometimes reconnects
on Connection.close()
[ 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.