You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2011/04/13 11:17:05 UTC

[jira] [Updated] (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:all-tabpanel ]

Vamsavardhana Reddy updated AMQ-3121:
-------------------------------------

    Attachment: AMQ-3121-v412-backport.patch

AMQ-3121-v412-backport.patch:
I have back ported the fix to ActiveMQ 4.1.2 for use with Geronimo 2.1.7 in my test environment. I am also caching one connection which will be closed when the resource adapter is stopped.  Strangely, I do not see the code execution ever going inside the block where connection is created!!! Anything I am missing??

> 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: AMQ-3121-v412-backport.patch, 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