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
-
Field Summary
Modifier and TypeFieldDescriptionprotected ConsumerId
static final byte
protected long
protected ActiveMQDestination
protected MessageId
Fields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
long
boolean
void
setConsumerId
(ConsumerId consumerId) void
setDeliverySequenceId
(long deliverySequenceId) void
setDestination
(ActiveMQDestination destination) void
setMessageId
(MessageId messageId) 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 Details
-
DATA_STRUCTURE_TYPE
public static final byte DATA_STRUCTURE_TYPE- See Also:
-
consumerId
-
destination
-
messageId
-
deliverySequenceId
protected long deliverySequenceId
-
-
Constructor Details
-
MessageDispatchNotification
public MessageDispatchNotification()
-
-
Method Details
-
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
-
setConsumerId
-
getDestination
-
setDestination
-
getDeliverySequenceId
public long getDeliverySequenceId() -
setDeliverySequenceId
public void setDeliverySequenceId(long deliverySequenceId) -
visit
- Throws:
Exception
-
getMessageId
-
setMessageId
-