[jboss-jira] [JBoss JIRA] (WFLY-2455) Provide a way to add custom XAResource frameworks to the transaction manager
Tom Jenkinson (JIRA)
issues at jboss.org
Fri Apr 10 10:06:21 EDT 2015
[ https://issues.jboss.org/browse/WFLY-2455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057864#comment-13057864 ]
Tom Jenkinson commented on WFLY-2455:
-------------------------------------
And of course, it already exists! Sorry about that, the method you need to call is in: https://github.com/jbosstm/jboss-transaction-spi/blob/master/src/main/java/org/jboss/tm/XAResourceRecoveryRegistry.java#L61
You can see how it is resolved in a few different places:
1. Clustering
https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/XAResourceRecoveryBuilder.java#L50
https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/java/org/jboss/as/clustering/infinispan/subsystem/XAResourceRecoveryBuilder.java#L87
2. EJB3
https://github.com/wildfly/wildfly/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/remote/EJBTransactionRecoveryService.java#L64
https://github.com/wildfly/wildfly/blob/master/ejb3/src/main/java/org/jboss/as/ejb3/remote/EJBTransactionRecoveryService.java#L74
3. HornetQ
https://github.com/wildfly/wildfly/blob/master/messaging/src/main/java/org/jboss/as/messaging/jms/AS7RecoveryRegistry.java#L53
(used internally in HornetQ - https://github.com/hornetq/hornetq/blob/master/hornetq-jms-server/src/main/java/org/hornetq/jms/server/recovery/HornetQRegistryBase.java#L67)
> Provide a way to add custom XAResource frameworks to the transaction manager
> ----------------------------------------------------------------------------
>
> Key: WFLY-2455
> URL: https://issues.jboss.org/browse/WFLY-2455
> Project: WildFly
> Issue Type: Enhancement
> Components: Transactions
> Affects Versions: 8.0.0.Beta1
> Reporter: Koen Janssens
> Assignee: Amos Feng
>
> Using a custom jbossts-properties.xml file defined via the com.arjuna.ats.arjuna.common.propertiesFile systemsetting, i can register a custom recovery manager for arjuna.
> However, the ArjunaRecoveryManagerService class overwrite the recovery configuration mentioned in my jbossts-properties.xml file with a hardcoded list of recovery modules.
> This makes me wonder if/how the hornetq recovery (org.hornetq.jms.server.recovery.HornetQXAResourceRecover) gets registered in wildfly..
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list