void |
QueuePullTransaction.acknowledgeMessage(MessageIndex messageIndex) |
Acknowledge a single message of this transaction
|
void |
QueuePullTransaction.acknowledgeMessage(MessageIndex messageIndex,
AsyncCompletionCallback callback) |
Async acknowledge a single message of this transaction and returns its size as the result of the callback.
|
void |
QueuePullTransaction.acknowledgeMessages(java.util.List messageIndexList,
AsyncCompletionCallback callback) |
Async acknowledge a list of messages of this transaction and returns their size as the result of the callback.
|
void |
QueueTransaction.commit() |
Commits the transaction and set the transaction state to closed
|
void |
QueueTransaction.commit(XidImpl globalTransactionId) |
Commits a prepared transaction and set the transaction state to closed.
|
MessageEntry |
QueuePullTransaction.getExpiredMessage(long timeout) |
Get an expired message from the queue but wait only a specific period of time.
|
MessageEntry |
QueuePullTransaction.getMessage() |
Get a message from the queue.
|
MessageEntry |
QueuePullTransaction.getMessage(long timeout) |
Get a message from the queue but wait only a specific period of time.
|
MessageEntry |
QueuePullTransaction.getMessage(long timeout,
Selector selector) |
Get a message from the queue that matches the selector but wait only a specific period of time.
|
MessageEntry |
QueuePullTransaction.getMessage(Selector selector) |
Get a message from the queue that matches the selector.
|
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 |
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.
|
void |
QueueTransaction.prepare(XidImpl globalTransactionId) |
Prepares the transaction with the given transaction id.
|
void |
QueuePushTransaction.putMessage(MessageImpl message) |
Put a message into the queue
|
void |
QueuePullTransaction.registerMessageProcessor(MessageProcessor messageProcessor) |
Registers a message processor.
|
void |
QueuePullTransaction.removeMessages(java.util.List<MessageIndex> messageIndexes) |
Remove messages from a queue
|
void |
QueuePullTransaction.rollback() |
Rollback of the transaction.
|
void |
QueuePullTransaction.rollback(XidImpl globalTransactionId,
boolean setRedelivered) |
Rolls back the transaction with the given transaction id, eventually prepared
under a global transaction id.
|
void |
QueuePushTransaction.rollback() |
Rollback of the transaction.
|
void |
QueuePushTransaction.rollback(XidImpl globalTransactionId,
boolean setRedelivered) |
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 |
QueueTransaction.rollback(XidImpl globalTransactionId,
boolean setRedelivered) |
Rolls back the transaction with the given transaction id, eventually prepared
under a global transaction id.
|
void |
QueuePullTransaction.unregisterMessageProcessor(MessageProcessor messageProcessor) |
Unregisters a message processor.
|
protected void |
QueueTransaction.verifyTransactionState() |
Verifies the transaction state.
|