Package com.swiftmq.swiftlet.queue
Class QueueTransactionHandler
- java.lang.Object
-
- com.swiftmq.swiftlet.queue.event.QueueManagerAdapter
-
- com.swiftmq.swiftlet.queue.QueueHandler
-
- com.swiftmq.swiftlet.queue.QueueTransactionHandler
-
- All Implemented Interfaces:
QueueManagerListener
,java.util.EventListener
- Direct Known Subclasses:
QueueReceiver
,QueueSender
public abstract class QueueTransactionHandler extends QueueHandler
A QueueTransactionHandler manages open transactions. It serves as an abstract base class for QueueSender and QueueReceiver.- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes the QueueTransactionHandler.-
Methods inherited from class com.swiftmq.swiftlet.queue.QueueHandler
getNumberQueueMessages, getQueueName, isClosed, queueStopInitiated, verifyQueueHandlerState
-
Methods inherited from class com.swiftmq.swiftlet.queue.event.QueueManagerAdapter
queueStarted, queueStartInitiated, queueStopped
-
-
-
-
Method Detail
-
close
public void close() throws QueueException, QueueHandlerClosedException
Closes the QueueTransactionHandler. All open transaction will be rolled back and removed from the handler- Overrides:
close
in classQueueHandler
- Throws:
QueueException
- thrown by the queueQueueHandlerClosedException
- if the handler already was closed
-
-