- All Superinterfaces:
XAResource
Session for executing operation over queues.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface javax.transaction.xa.XAResource
TMENDRSCAN, TMFAIL, TMJOIN, TMNOFLAGS, TMONEPHASE, TMRESUME, TMSTARTRSCAN, TMSUCCESS, TMSUSPEND, XA_OK, XA_RDONLY -
Method Summary
Methods inherited from interface javax.transaction.xa.XAResource
commit, end, forget, getTransactionTimeout, isSameRM, prepare, recover, rollback, setTransactionTimeout, start
-
Method Details
-
getQueue
Retrieves a queue.- Parameters:
name- identifier of the queue to retrieve- Returns:
- the queue
-
begin
Starts a transaction to execute operations over a set of queue with atomicity.- Throws:
ResourceManagerException
-
commit
Commits a transaction started withbegin()- Throws:
ResourceManagerException
-
rollback
Rollbacks a transaction started withbegin()- Throws:
ResourceManagerException
-