Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SimpleMessageReference
public SimpleMessageReference()
- Required by externalization.
SimpleMessageReference
public SimpleMessageReference(SimpleMessageReference other)
SimpleMessageReference
protected SimpleMessageReference(Message message)
copy
public MessageReference copy()
- Specified by:
copy
in interface MessageReference
getDeliveryCount
public int getDeliveryCount()
- Specified by:
getDeliveryCount
in interface MessageReference
- Returns:
- the number of times delivery has been attempted for this routable
setDeliveryCount
public void setDeliveryCount(int deliveryCount)
- Specified by:
setDeliveryCount
in interface MessageReference
getScheduledDeliveryTime
public long getScheduledDeliveryTime()
- Specified by:
getScheduledDeliveryTime
in interface MessageReference
- Returns:
- The time in the future that delivery will be delayed until, or zero if
no scheduled delivery will occur
setScheduledDeliveryTime
public void setScheduledDeliveryTime(long scheduledDeliveryTime)
- Specified by:
setScheduledDeliveryTime
in interface MessageReference
getMessage
public Message getMessage()
- Specified by:
getMessage
in interface MessageReference
getPagingOrder
public long getPagingOrder()
- Specified by:
getPagingOrder
in interface MessageReference
setPagingOrder
public void setPagingOrder(long order)
- Specified by:
setPagingOrder
in interface MessageReference
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2006 JBoss Inc. All Rights Reserved.