public class ClusterQueueSession
extends org.mule.runtime.core.internal.util.queue.AbstractQueueSession
implements org.mule.runtime.core.api.util.queue.QueueSession
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Constructor and Description |
|---|
ClusterQueueSession(com.hazelcast.core.HazelcastInstance hazelcastInstance,
org.mule.runtime.core.internal.util.queue.QueueProvider queueProvider,
ClusterQueueNameResolver clusterQueueNameResolver,
org.mule.runtime.core.api.MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
void |
commit(Xid xid,
boolean onePhase) |
void |
end(Xid xid,
int flag) |
void |
forget(Xid xid) |
protected org.mule.runtime.core.internal.util.queue.QueueTransactionContext |
getTransactionalContext() |
int |
getTransactionTimeout() |
boolean |
isSameRM(XAResource xaResource) |
int |
prepare(Xid xid) |
Xid[] |
recover(int flag) |
void |
rollback() |
void |
rollback(Xid xid) |
boolean |
setTransactionTimeout(int timeout) |
void |
start(Xid xid,
int i) |
getMuleContext, getQueue, getQueueProviderpublic ClusterQueueSession(com.hazelcast.core.HazelcastInstance hazelcastInstance,
org.mule.runtime.core.internal.util.queue.QueueProvider queueProvider,
ClusterQueueNameResolver clusterQueueNameResolver,
org.mule.runtime.core.api.MuleContext muleContext)
protected org.mule.runtime.core.internal.util.queue.QueueTransactionContext getTransactionalContext()
getTransactionalContext in class org.mule.runtime.core.internal.util.queue.AbstractQueueSessionpublic 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 void commit(Xid xid, boolean onePhase) throws XAException
commit in interface XAResourceXAExceptionpublic void end(Xid xid, int flag) 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 flag) throws XAException
recover in interface XAResourceXAExceptionpublic void rollback(Xid xid) throws XAException
rollback in interface XAResourceXAExceptionpublic boolean setTransactionTimeout(int timeout)
throws XAException
setTransactionTimeout in interface XAResourceXAExceptionpublic void start(Xid xid, int i) throws XAException
start in interface XAResourceXAExceptionCopyright © 2006–2022 MuleSoft, Inc.. All rights reserved.