Package org.apache.activemq.artemis.ra
Class ActiveMQRALocalTransaction
- java.lang.Object
-
- org.apache.activemq.artemis.ra.ActiveMQRALocalTransaction
-
- All Implemented Interfaces:
javax.resource.spi.LocalTransaction
public class ActiveMQRALocalTransaction extends Object implements javax.resource.spi.LocalTransaction
JMS Local transaction
-
-
Constructor Summary
Constructors Constructor Description ActiveMQRALocalTransaction(ActiveMQRAManagedConnection mc)Constructor
-
-
-
Constructor Detail
-
ActiveMQRALocalTransaction
public ActiveMQRALocalTransaction(ActiveMQRAManagedConnection mc)
Constructor- Parameters:
mc- The managed connection
-
-
Method Detail
-
begin
public void begin() throws javax.resource.ResourceExceptionBegin- Specified by:
beginin interfacejavax.resource.spi.LocalTransaction- Throws:
javax.resource.ResourceException- Thrown if the operation fails
-
commit
public void commit() throws javax.resource.ResourceExceptionCommit- Specified by:
commitin interfacejavax.resource.spi.LocalTransaction- Throws:
javax.resource.ResourceException- Thrown if the operation fails
-
rollback
public void rollback() throws javax.resource.ResourceExceptionRollback- Specified by:
rollbackin interfacejavax.resource.spi.LocalTransaction- Throws:
javax.resource.ResourceException- Thrown if the operation fails
-
-