Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected ConsumerId
consumerId
static byte
DATA_STRUCTURE_TYPE
protected long
deliverySequenceId
protected ActiveMQDestination
destination
protected MessageId
messageId
-
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
-
-
Constructor Summary
Constructors Constructor Description MessageDispatchNotification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConsumerId
getConsumerId()
byte
getDataStructureType()
long
getDeliverySequenceId()
ActiveMQDestination
getDestination()
MessageId
getMessageId()
boolean
isMessageDispatchNotification()
void
setConsumerId(ConsumerId consumerId)
void
setDeliverySequenceId(long deliverySequenceId)
void
setDestination(ActiveMQDestination destination)
void
setMessageId(MessageId messageId)
Response
visit(CommandVisitor visitor)
-
Methods inherited from class org.apache.activemq.command.BaseCommand
copy, getCommandId, getFrom, getTo, isBrokerInfo, isConnectionControl, isConsumerControl, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
getDataStructureType
public byte getDataStructureType()
- Returns:
- The type of the data structure
-
isMessageDispatchNotification
public boolean isMessageDispatchNotification()
- Specified by:
isMessageDispatchNotification
in interfaceCommand
- Overrides:
isMessageDispatchNotification
in classBaseCommand
-
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)
-
-