Uses of Class
com.swiftmq.swiftlet.queue.QueueException
Packages that use QueueException
-
Uses of QueueException in com.swiftmq.swiftlet.queue
Subclasses of QueueException in com.swiftmq.swiftlet.queueModifier and TypeClassDescriptionclass
An exception thrown by the queue manager if the queue that should be created is already defined.class
An exception thrown by QueueHandlers if a method is invoked after the handler is closed.class
class
An exception thrown by QueuePullTransaction if a given timeout has been reachedclass
An exception thrown from Transactions if the transaction is already closedclass
An exception thrown by the QueueManager if the queue is unknownMethods in com.swiftmq.swiftlet.queue that throw QueueExceptionModifier and TypeMethodDescriptionvoid
AbstractQueue.acknowledgeMessage
(Object transactionId, MessageIndex messageIndex) Acknowledges a message that was fetched within a pull transaction.void
QueuePullTransaction.acknowledgeMessage
(MessageIndex messageIndex) Acknowledge a single message of this transactionAbstractQueue.buildPreparedTransaction
(PrepareLogRecord logRecord) Builds a new QueueTransaction on base of the PrepareLogRecord.void
AbstractQueue.cleanUpExpiredMessages()
Deletes all expired messages from the queuevoid
QueueBrowser.close()
Close the queue browservoid
QueueHandler.close()
Close the QueueHandlervoid
QueueReceiver.close()
Close the queue receivervoid
QueueSender.close()
Close the queue sendervoid
QueueTransactionHandler.close()
Closes the QueueTransactionHandler.abstract void
Commit the transaction with the given transaction idabstract void
Commits a prepared transaction.void
QueueTransaction.commit()
Commits the transaction and set the transaction state to closedvoid
Commits a prepared transaction and set the transaction state to closed.abstract Object
AbstractQueue.createPullTransaction()
Creates a new pull transaction and returns a unique transaction idabstract Object
AbstractQueue.createPushTransaction()
Creates a new push transaction and returns a unique transaction idQueueFactory.createQueue
(String queueName, Entity queueEntity) Creates a new abstract queue from the given entity.abstract void
QueueManager.createQueue
(String queueName, ActiveLogin activeLogin) Creates a queue.abstract void
QueueManager.createQueue
(String queueName, QueueFactory factory) Creates a queue from a specified queue factory.abstract QueueBrowser
QueueManager.createQueueBrowser
(String queueName, ActiveLogin activeLogin, Selector selector) Creates a QueueBrowser.abstract QueueReceiver
QueueManager.createQueueReceiver
(String queueName, ActiveLogin activeLogin, Selector selector) Creates a QueueReceiverabstract QueueSender
QueueManager.createQueueSender
(String queueName, ActiveLogin activeLogin) Creates a QueueSender.abstract String
QueueManager.createTemporaryQueue()
Create a temporary queue.QueueReceiver.createTransaction
(boolean setRedeliveredOnRollback) Creates a new QueuePullTransaction.QueueSender.createTransaction()
Creates a new QueuePushTransaction.void
AbstractQueue.deleteContent()
Removes all messages from the queue.abstract void
QueueManager.deleteQueue
(String queueName, boolean onEmpty) Deletes a queue.abstract void
QueueManager.deleteTemporaryQueue
(String queueName) Delete a temporary queue.long
AbstractQueue.getCleanUpInterval()
Returns the cleanup interval in millisecondsAbstractQueue.getExpiredMessage
(Object transactionId, long timeout) Get the next expired message from the queue but wait only a specific period of time.QueuePullTransaction.getExpiredMessage
(long timeout) Get an expired message from the queue but wait only a specific period of time.AbstractQueue.getIndexEntry
(MessageIndex messageIndex) Returns the actual index entry (the implementation of the MessageIndex class) used for this MessageIndexAbstractQueue.getMessage
(Object transactionId) Get a message from the queue.AbstractQueue.getMessage
(Object transactionId, long timeout) Get a message from the queue but wait only a specific period of time.AbstractQueue.getMessage
(Object transactionId, Selector selector) Get a message from the queue that matches the selector.AbstractQueue.getMessage
(Object transactionId, Selector selector, int viewId) Get the next message from a view.AbstractQueue.getMessage
(Object transactionId, Selector selector, int viewId, long timeout) Get the next message from the view but wait only a specific period of time.AbstractQueue.getMessage
(Object transactionId, Selector selector, long timeout) Get a message from the queue that matches the selector but wait only a specific period of time.QueuePullTransaction.getMessage()
Get a message from the queue.QueuePullTransaction.getMessage
(long timeout) Get a message from the queue but wait only a specific period of time.QueuePullTransaction.getMessage
(long timeout, Selector selector) Get a message from the queue that matches the selector but wait only a specific period of time.QueuePullTransaction.getMessage
(Selector selector) Get a message from the queue that matches the selector.AbstractQueue.getMessageByIndex
(MessageIndex messageIndex) Returns the message with that given key.QueueBrowser.getNextMessage()
Get the next available message from the queue.long
AbstractQueue.getNumberQueueMessages()
Returns the number of messages actually stored in the queuelong
QueueHandler.getNumberQueueMessages()
Returns the number of messages in the queueAbstractQueue.getQueueIndex()
Returns a current snapshot of the queue index (message indexes)AbstractQueue.getQueueIndex
(int viewId) Returns a current snapshot of the viewvoid
AbstractQueue.moveToTransaction
(MessageIndex messageIndex, Object destTxId) Moves a message with the given message index to the destination transaction.void
AbstractQueue.moveToTransaction
(MessageIndex messageIndex, Object sourceTxId, Object destTxId) Moves a message with the given message index from the source to the destination transaction.void
QueuePullTransaction.moveToTransaction
(MessageIndex messageIndex) Moves a message with the given message index to this transaction.void
QueuePullTransaction.moveToTransaction
(MessageIndex messageIndex, QueuePullTransaction sourceTransaction) Moves a message with the given message index from the source to this transaction.long
AbstractQueue.moveToTransactionReturnSize
(MessageIndex messageIndex, Object destTxId) Moves a message with the given message index to the destination transaction and returns the message size.long
AbstractQueue.moveToTransactionReturnSize
(MessageIndex messageIndex, Object sourceTxId, Object destTxId) Moves a message with the given message index from the source to the destination transaction and returns its size.long
QueuePullTransaction.moveToTransactionReturnSize
(MessageIndex messageIndex) Moves a message with the given message index to this transaction and returns its size.long
QueuePullTransaction.moveToTransactionReturnSize
(MessageIndex messageIndex, QueuePullTransaction sourceTransaction) Moves a message with the given message index from the source to this transaction and returns its size.abstract void
Prepares the transaction with the given transaction id.void
Prepares the transaction with the given transaction id.abstract void
QueueManager.purgeQueue
(String queueName) Purges a queue (deletes the content).abstract void
AbstractQueue.putMessage
(Object transactionId, MessageImpl message) Put a message into the queuevoid
QueuePushTransaction.putMessage
(MessageImpl message) Put a message into the queuevoid
QueuePullTransaction.registerMessageProcessor
(MessageProcessor messageProcessor) Registers a message processor.void
AbstractQueue.removeMessageByIndex
(MessageIndex messageIndex) Removes a message with that given key outside a queue transaction.void
AbstractQueue.removeMessages
(Object transactionId, List<MessageIndex> messageIndexes) Remove messages from a queuevoid
QueuePullTransaction.removeMessages
(List<MessageIndex> messageIndexes) Remove messages from a queueabstract void
Rolls back the transaction with the given transaction id.abstract void
Rolls back the transaction with the given transaction id, eventually prepared under a global transaction id.void
QueuePullTransaction.rollback()
Rollback of the transaction.void
Rolls back the transaction with the given transaction id, eventually prepared under a global transaction id.void
QueuePushTransaction.rollback()
Rollback of the transaction.void
Rolls back the transaction with the given transaction id, eventually prepared under a global transaction id.abstract void
QueueTransaction.rollback()
Rolls back the transaction.abstract void
Rolls back the transaction with the given transaction id, eventually prepared under a global transaction id.void
AbstractQueue.startQueue()
Starts the queue.void
AbstractQueue.stopQueue()
Stops the queue.void
QueuePullTransaction.unregisterMessageProcessor
(MessageProcessor messageProcessor) Unregisters a message processor. -
Uses of QueueException in com.swiftmq.swiftlet.topic
Methods in com.swiftmq.swiftlet.topic that throw QueueExceptionModifier and TypeMethodDescriptionabstract void
TopicManager.deleteDurable
(String durableName, ActiveLogin activeLogin) Delete a durable subscriber.abstract String
TopicManager.subscribeDurable
(String durableName, TopicImpl topic, Selector selector, boolean noLocal, ActiveLogin activeLogin) Subscribe as durable subscriber.