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

Benjamin Graf commented on ARIES-1158:
--------------------------------------

Well, I think the problem is not necessary anymore if switch to activemq. embed 
activemq is a bit odd since all stuff is bundled in one osgi ueberjar. Do think 
 blueprint /xbean is really needed? There is quite a good instruction in the 
jboss fuse docs how to use activemq-jms-pool instead in plain blueprint. 
Otherwise I can provide a patch for this bug.

> 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)

Reply via email to