public class RefsOperation extends TransactionOperationAbstract
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
ignoreRedeliveryCheck
It will ignore redelivery check, which is used during consumer.close
to not perform reschedule redelivery check
|
| Constructor and Description |
|---|
RefsOperation(Queue queue,
StorageManager storageManager) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit(Transaction tx)
After commit shouldn't throw any exception.
|
void |
afterRollback(Transaction tx)
After rollback shouldn't throw any exception.
|
List<MessageReference> |
getListOnConsumer(long consumerID) |
List<MessageReference> |
getReferencesToAcknowledge() |
List<MessageReference> |
getRelatedMessageReferences() |
void |
setIgnoreRedeliveryCheck() |
afterPrepare, beforeCommit, beforePrepare, beforeRollbackprotected boolean ignoreRedeliveryCheck
public RefsOperation(Queue queue, StorageManager storageManager)
public void setIgnoreRedeliveryCheck()
public void afterRollback(Transaction tx)
TransactionOperationAbstractAny verification has to be done on before rollback
afterRollback in interface TransactionOperationafterRollback in class TransactionOperationAbstractpublic void afterCommit(Transaction tx)
TransactionOperationAbstractAny verification has to be done on before commit
afterCommit in interface TransactionOperationafterCommit in class TransactionOperationAbstractpublic List<MessageReference> getRelatedMessageReferences()
getRelatedMessageReferences in interface TransactionOperationgetRelatedMessageReferences in class TransactionOperationAbstractpublic List<MessageReference> getListOnConsumer(long consumerID)
getListOnConsumer in interface TransactionOperationgetListOnConsumer in class TransactionOperationAbstractpublic List<MessageReference> getReferencesToAcknowledge()
Copyright © 2018 JBoss by Red Hat. All rights reserved.