Package com.swiftmq.impl.topic.standard
Class TopicSubscriberTransaction
java.lang.Object
com.swiftmq.impl.topic.standard.TopicSubscriberTransaction
-
Constructor Summary
ModifierConstructorDescriptionprotected
TopicSubscriberTransaction
(TopicSubscription topicSubscription, QueuePushTransaction transaction, String destination) -
Method Summary
Modifier and TypeMethodDescriptionprotected long
commit()
protected void
commit
(AsyncCompletionCallback callback) protected long
commit
(XidImpl globalTxId) protected TopicSubscription
QueuePushTransaction
boolean
protected void
prepare
(XidImpl globalTxId) protected void
publish
(MessageImpl message) protected void
rollback()
protected void
rollback
(AsyncCompletionCallback callback) protected void
rollback
(XidImpl globalTxId) void
setPersistentMessageIncluded
(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
-