You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2014/06/02 10:50:01 UTC

[jira] [Commented] (ARIES-1158) XAConnectionFactory not recoverable

    [ https://issues.apache.org/jira/browse/ARIES-1158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14015265#comment-14015265 ] 

Guillaume Nodet commented on ARIES-1158:
----------------------------------------

Not sure to understand the problem, could you please be a bit more explicit ?
As for activemq-jms-pool, if it provides the same features, i'm all for switching, however, I don't see a blueprint /xbean namespace handler for the non-activemq-specific part of it.  Maybe we can just embed activemq code in this bundle ?

> XAConnectionFactory not recoverable
> -----------------------------------
>
>                 Key: ARIES-1158
>                 URL: https://issues.apache.org/jira/browse/ARIES-1158
>             Project: Aries
>          Issue Type: Bug
>          Components: Transaction
>         Environment: Windows/UNIX
>            Reporter: Benjamin Graf
>
> GenericResourceManager needs XAConnectionFactory for recovery but gets only ConnectionFactory which wraps the XAConnectionFactory provided.
> XaPooledConnectionFactory:
> public void setXaConnectionFactory(XAConnectionFactory xaConnectionFactory) {
>     	this.xaConnectionFactory = xaConnectionFactory;
>         setConnectionFactory(new ConnectionFactory() {
>             public Connection createConnection() throws JMSException {
>                 return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection();
>             }
>             public Connection createConnection(String userName, String password) throws JMSException {
>                 return XaPooledConnectionFactory.this.xaConnectionFactory.createXAConnection(userName, password);
>             }
>         });
>     }



--
This message was sent by Atlassian JIRA
(v6.2#6252)