public interface QueueSession extends XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Starts a transaction to execute operations over a set of queue with atomicity.
|
void |
commit()
Commits a transaction started with
begin() |
Queue |
getQueue(String name)
Retrieves a queue.
|
void |
rollback()
Rollbacks a transaction started with
begin() |
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, startQueue getQueue(String name)
name - identifier of the queue to retrievevoid begin()
throws ResourceManagerException
ResourceManagerExceptionvoid commit()
throws ResourceManagerException
begin()ResourceManagerExceptionvoid rollback()
throws ResourceManagerException
begin()ResourceManagerExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.