[
https://issues.jboss.org/browse/ISPN-3899?page=com.atlassian.jira.plugin....
]
Mircea Markus commented on ISPN-3899:
-------------------------------------
[~pferraro] cam you please elaborate why the XAResourceRecovery implementation is needed?
ATM the recovery process can obtain a handle to a XAResource through
cache.getAdvancedCache().getXAResource(), shouldn't that be enough?
XAResourceRecovery implementation needed for transaction recovery in
library mode
---------------------------------------------------------------------------------
Key: ISPN-3899
URL:
https://issues.jboss.org/browse/ISPN-3899
Project: Infinispan
Issue Type: Bug
Components: Transactions
Reporter: Galder ZamarreƱo
Assignee: Ion Savin
Fix For: 7.0.0.Final
According to [~pferraro], an implementation of XAResourceRecovery needs to be added to
Infinispan and plugged into XAResourceRecoveryRegistry in order to get recovery of XA
transactions working as expected.
This is already done in Server/AS/Wildfly in
org.jboss.as.clustering.infinispan.subsystem.CacheService class.
A similar thing should happen when Infinispan is used in embedded/library mode.
[~isavin], since you are going to work on the transaction changes in 7.0, maybe you can
take this on too? It'd be interesting to add a test to start with which shows that XA
transaction recovery is not working as expected as a result of not having this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira