org.apache.activemq.command
Class MessageDispatchNotification
java.lang.Object
org.apache.activemq.command.BaseCommand
org.apache.activemq.command.MessageDispatchNotification
- All Implemented Interfaces:
- Command, DataStructure
public class MessageDispatchNotification
- extends BaseCommand
- Version:
- $Revision$
Methods inherited from class org.apache.activemq.command.BaseCommand |
copy, getCommandId, getFrom, getTo, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString |
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE
- See Also:
- Constant Field Values
consumerId
protected ConsumerId consumerId
destination
protected ActiveMQDestination destination
messageId
protected MessageId messageId
deliverySequenceId
protected long deliverySequenceId
MessageDispatchNotification
public MessageDispatchNotification()
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
isMessageDispatchNotification
public boolean isMessageDispatchNotification()
- Specified by:
isMessageDispatchNotification
in interface Command
- Overrides:
isMessageDispatchNotification
in class BaseCommand
getConsumerId
public ConsumerId getConsumerId()
setConsumerId
public void setConsumerId(ConsumerId consumerId)
getDestination
public ActiveMQDestination getDestination()
setDestination
public void setDestination(ActiveMQDestination destination)
getDeliverySequenceId
public long getDeliverySequenceId()
setDeliverySequenceId
public void setDeliverySequenceId(long deliverySequenceId)
visit
public Response visit(CommandVisitor visitor)
throws Exception
- Throws:
Exception
getMessageId
public MessageId getMessageId()
setMessageId
public void setMessageId(MessageId messageId)
Copyright © 2011 Apache Software Foundation. All Rights Reserved.