public class HornetQXAResourceRecovery extends Object implements com.arjuna.ats.jta.recovery.XAResourceRecovery
In reality only recover, rollback and commit will be called but we still need to be implement all methods just in case.
To enable this add the following to the jbossts-properties file
you'll need something like this if the HornetQ Server is remote
-->
you'll need something like this if the HornetQ Server is remote and has failover configured-->
-->
| Modifier and Type | Class and Description |
|---|---|
static class |
HornetQXAResourceRecovery.ConfigParser |
| Constructor and Description |
|---|
HornetQXAResourceRecovery() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
finalize() |
XAResource |
getXAResource() |
XAResource[] |
getXAResources() |
boolean |
hasMoreResources() |
boolean |
initialise(String config) |
public boolean initialise(String config)
initialise in interface com.arjuna.ats.jta.recovery.XAResourceRecoverypublic boolean hasMoreResources()
hasMoreResources in interface com.arjuna.ats.jta.recovery.XAResourceRecoverypublic XAResource getXAResource()
getXAResource in interface com.arjuna.ats.jta.recovery.XAResourceRecoverypublic XAResource[] getXAResources()
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.