[
https://issues.apache.org/jira/browse/AMQ-4085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531900#comment-13531900
]
SuoNayi commented on AMQ-4085:
------------------------------
Could you tell me where is the logic or what's the class and method in the
broker to close the connection after a short delay.
I have checked the source code in the following URL but found no delay closure
is involved,
http://svn.apache.org/repos/asf/activemq/tags/activemq-5.6.0/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java(processAddConnection)
http://svn.apache.org/repos/asf/activemq/tags/activemq-5.7.0/activemq-core/src/main/java/org/apache/activemq/broker/TransportConnection.java(processAddConnection)
Or maybe this is only fixed in fusesource releases?
> When InvalidClientIDException is present in the client the client failover
> transport should reconnect the broker transparently
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-4085
> URL: https://issues.apache.org/jira/browse/AMQ-4085
> Project: ActiveMQ
> Issue Type: Improvement
> Components: activemq-pool, Broker, JMS client
> Affects Versions: 5.x
> Reporter: SuoNayi
> Priority: Minor
> Labels: InvalidClientIDException, failover
> Fix For: NEEDS_REVIEWED
>
>
> With the current solution,when using the connection to create session the
> InvalidClientIDException will be thrown but the underlying failover transport
> takes no far actions.
> For creating session successfully, you have to recreate a new connection
> instance(close the old one),this is not good for the shared connection style
> such as Spring JMS or activemq-pool.
> We would like the transparent reconnect transport insteand of creating new
> connection.
> I have commented this at https://issues.apache.org/jira/browse/AMQ-3792.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira