public class DummyXaResource extends Object implements XAResource, org.mule.runtime.core.api.util.queue.QueueSession
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
DummyXaResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
void |
commit(Xid xid,
boolean b) |
void |
end(Xid xid,
int i) |
void |
forget(Xid xid) |
org.mule.runtime.core.api.util.queue.Queue |
getQueue(String name) |
int |
getTransactionTimeout() |
boolean |
isCommitStarted() |
boolean |
isPrepared() |
boolean |
isRollbackExecuted() |
boolean |
isSameRM(XAResource xaResource) |
boolean |
isTxEnded() |
boolean |
isTxStarted() |
int |
prepare(Xid xid) |
Xid[] |
recover(int i) |
void |
rollback() |
void |
rollback(Xid xid) |
boolean |
setTransactionTimeout(int i) |
void |
start(Xid xid,
int i) |
public void commit(Xid xid, boolean b) throws XAException
commit in interface XAResourceXAExceptionpublic void end(Xid xid, int i) throws XAException
end in interface XAResourceXAExceptionpublic void forget(Xid xid) throws XAException
forget in interface XAResourceXAExceptionpublic int getTransactionTimeout()
throws XAException
getTransactionTimeout in interface XAResourceXAExceptionpublic boolean isSameRM(XAResource xaResource) throws XAException
isSameRM in interface XAResourceXAExceptionpublic int prepare(Xid xid) throws XAException
prepare in interface XAResourceXAExceptionpublic Xid[] recover(int i) throws XAException
recover in interface XAResourceXAExceptionpublic void rollback(Xid xid) throws XAException
rollback in interface XAResourceXAExceptionpublic boolean setTransactionTimeout(int i)
throws XAException
setTransactionTimeout in interface XAResourceXAExceptionpublic void start(Xid xid, int i) throws XAException
start in interface XAResourceXAExceptionpublic org.mule.runtime.core.api.util.queue.Queue getQueue(String name)
getQueue in interface org.mule.runtime.core.api.util.queue.QueueSessionpublic void begin()
throws org.mule.runtime.core.api.transaction.xa.ResourceManagerException
begin in interface org.mule.runtime.core.api.util.queue.QueueSessionorg.mule.runtime.core.api.transaction.xa.ResourceManagerExceptionpublic void commit()
throws org.mule.runtime.core.api.transaction.xa.ResourceManagerException
commit in interface org.mule.runtime.core.api.util.queue.QueueSessionorg.mule.runtime.core.api.transaction.xa.ResourceManagerExceptionpublic void rollback()
throws org.mule.runtime.core.api.transaction.xa.ResourceManagerException
rollback in interface org.mule.runtime.core.api.util.queue.QueueSessionorg.mule.runtime.core.api.transaction.xa.ResourceManagerExceptionpublic boolean isCommitStarted()
public boolean isPrepared()
public boolean isTxEnded()
public boolean isRollbackExecuted()
public boolean isTxStarted()
Copyright © 2024 MuleSoft, Inc.. All rights reserved.