Class ClusteredTransactionId

java.lang.Object
com.swiftmq.impl.queue.standard.cluster.ClusteredTransactionId

public class ClusteredTransactionId extends Object
  • Constructor Details

    • ClusteredTransactionId

      public ClusteredTransactionId(SwiftletContext ctx, boolean messageBasedDispatch)
    • ClusteredTransactionId

      public ClusteredTransactionId(SwiftletContext ctx, AbstractQueue baseQueue, Object baseTx, QueueImpl destination)
  • Method Details

    • isMessageBasedDispatch

      public boolean isMessageBasedDispatch()
    • putMessage

      public void putMessage(String queueName, MessageImpl message) throws Exception
      Throws:
      Exception
    • putMessage

      public void putMessage(MessageImpl message) throws Exception
      Throws:
      Exception
    • getDestination

      public QueueImpl getDestination()
    • getBaseTx

      public Object getBaseTx()
    • lockQueue

      public void lockQueue()
    • unlockQueue

      public void unlockQueue(boolean markAsyncActive)
    • unmarkAsyncActive

      public void unmarkAsyncActive()
    • setCompositeStoreTransaction

      public void setCompositeStoreTransaction(CompositeStoreTransaction ct)
    • getCompositeStoreTransaction

      public CompositeStoreTransaction getCompositeStoreTransaction()
    • prepare

      public void prepare(XidImpl xid) throws QueueException
      Throws:
      QueueException
    • commit

      public long commit(XidImpl xid) throws QueueException
      Throws:
      QueueException
    • commit

      public long commit() throws QueueException
      Throws:
      QueueException
    • commit

      public void commit(AsyncCompletionCallback callback)
    • rollback

      public void rollback(XidImpl xid, boolean b) throws QueueException
      Throws:
      QueueException
    • rollback

      public void rollback(boolean b) throws QueueException
      Throws:
      QueueException
    • rollback

      public void rollback(boolean b, AsyncCompletionCallback callback)
    • toString

      public String toString()
      Overrides:
      toString in class Object