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