activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3121) Avoid connection creation while creating XAResource if the connection factory is not an xa connection factory
Date Fri, 08 Apr 2011 19:09:05 GMT

    [ 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

Mime
View raw message