public interface MessageReference
Modifier and Type | Method and Description |
---|---|
void |
acknowledge() |
void |
acknowledge(Transaction tx) |
MessageReference |
copy(Queue queue) |
void |
decrementDeliveryCount() |
int |
getDeliveryCount() |
ServerMessage |
getMessage() |
int |
getMessageMemoryEstimate()
We define this method aggregation here because on paging we need to hold the original estimate,
so we need to perform some extra steps on paging.
|
int |
getPersistedCount() |
Queue |
getQueue() |
long |
getScheduledDeliveryTime() |
void |
handled() |
void |
incrementDeliveryCount() |
boolean |
isPaged() |
void |
setDeliveryCount(int deliveryCount) |
void |
setPersistedCount(int deliveryCount) |
void |
setScheduledDeliveryTime(long scheduledDeliveryTime) |
boolean isPaged()
ServerMessage getMessage()
int getMessageMemoryEstimate()
MessageReference copy(Queue queue)
long getScheduledDeliveryTime()
void setScheduledDeliveryTime(long scheduledDeliveryTime)
int getDeliveryCount()
void setDeliveryCount(int deliveryCount)
void setPersistedCount(int deliveryCount)
int getPersistedCount()
void incrementDeliveryCount()
void decrementDeliveryCount()
Queue getQueue()
void acknowledge(Transaction tx) throws Exception
Exception
void handled()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.