You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2011/04/08 21:09:05 UTC
[jira] [Commented] (AMQ-3121) Avoid connection creation while
creating XAResource if the connection factory is not an xa connection
factory
[ https://issues.apache.org/jira/browse/AMQ-3121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017604#comment-13017604 ]
David Jencks commented on AMQ-3121:
-----------------------------------
Ivan's patch at least makes recovery for inbound messaging plausible, but as Gary points out leaves a connection leak. I don't recall how amq gets a connection for delivering inbound messages. If this connection is cached, can we arrange to use the connection obtained for transaction recovery for inbound message delivery?
> Avoid connection creation while creating XAResource if the connection factory is not an xa connection factory
> -------------------------------------------------------------------------------------------------------------
>
> Key: AMQ-3121
> URL: https://issues.apache.org/jira/browse/AMQ-3121
> Project: ActiveMQ
> Issue Type: Improvement
> Components: JCA Container
> Affects Versions: 5.4.2
> Reporter: Ivan
> Attachments: ActiveMQ-3121.patch
>
>
> Avoid connection creation while creating XAResource if the connection factory is not xa connection factory, also, if it is xa connection, I think that the connection should not be closed as the new created xa resource holds reference to connection.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira