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, start
Queue getQueue(String name)
name
- identifier of the queue to retrievevoid begin() throws ResourceManagerException
ResourceManagerException
void commit() throws ResourceManagerException
begin()
ResourceManagerException
void rollback() throws ResourceManagerException
begin()
ResourceManagerException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.