activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMQ-4486) ActiveMQResourceAdapter.getXARessources() broken
Date Thu, 23 Jan 2014 22:41:39 GMT

     [ https://issues.apache.org/jira/browse/AMQ-4486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Tully resolved AMQ-4486.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.9.0)
                   5.10.0

fix reworked to open/close around each op - http://git-wip-us.apache.org/repos/asf/activemq/commit/3826a23e

> ActiveMQResourceAdapter.getXARessources() broken
> ------------------------------------------------
>
>                 Key: AMQ-4486
>                 URL: https://issues.apache.org/jira/browse/AMQ-4486
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: JCA Container
>    Affects Versions: 5.8.0
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>             Fix For: 5.10.0
>
>
> The Implementation of ActiveMQResourceAdapter.getXAResources() is broken.
> Its internal call to makeConnection() creates a non-XA ActiveMQConnectionFactory which
is then discarded as this ConnectionFactory is not XA-aware. As a result an empty XAResources
array is returned.
> This causes transaction recovery in the application server to fail.
> Where the resource adapter can be manually configured (with beans for example) it is
possible to work around by injecting the connection factory as an XA aware variant.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message