Package com.swiftmq.impl.topic.standard
Class TopicSubscriberTransaction
java.lang.Object
com.swiftmq.impl.topic.standard.TopicSubscriberTransaction
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTopicSubscriberTransaction(TopicSubscription topicSubscription, QueuePushTransaction transaction, String destination) -
Method Summary
Modifier and TypeMethodDescriptionprotected longcommit()protected voidcommit(AsyncCompletionCallback callback) protected longcommit(XidImpl globalTxId) protected TopicSubscriptionQueuePushTransactionbooleanprotected voidprepare(XidImpl globalTxId) protected voidpublish(MessageImpl message) protected voidrollback()protected voidrollback(AsyncCompletionCallback callback) protected voidrollback(XidImpl globalTxId) voidsetPersistentMessageIncluded(boolean persistentMessageIncluded) toString()
-
Constructor Details
-
TopicSubscriberTransaction
protected TopicSubscriberTransaction(TopicSubscription topicSubscription, QueuePushTransaction transaction, String destination)
-
-
Method Details
-
isPersistentMessageIncluded
public boolean isPersistentMessageIncluded() -
setPersistentMessageIncluded
public void setPersistentMessageIncluded(boolean persistentMessageIncluded) -
getTopicSubscription
-
getTransaction
public QueuePushTransaction getTransaction() -
publish
- Throws:
Exception
-
prepare
- Throws:
Exception
-
commit
- Throws:
Exception
-
commit
- Throws:
Exception
-
commit
protected void commit(AsyncCompletionCallback callback) -
rollback
- Throws:
Exception
-
rollback
- Throws:
Exception
-
rollback
protected void rollback(AsyncCompletionCallback callback) -
toString
-