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
FieldsModifier and TypeFieldDescriptionprotected ConsumerIdstatic final byteprotected longprotected ActiveMQDestinationprotected MessageIdFields inherited from class org.apache.activemq.command.BaseCommand
commandId, responseRequired -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbytelongbooleanvoidsetConsumerId(ConsumerId consumerId) voidsetDeliverySequenceId(long deliverySequenceId) voidsetDestination(ActiveMQDestination destination) voidsetMessageId(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:
isMessageDispatchNotificationin interfaceCommand- Overrides:
isMessageDispatchNotificationin classBaseCommand
-
getConsumerId
-
setConsumerId
-
getDestination
-
setDestination
-
getDeliverySequenceId
public long getDeliverySequenceId() -
setDeliverySequenceId
public void setDeliverySequenceId(long deliverySequenceId) -
visit
- Throws:
Exception
-
getMessageId
-
setMessageId
-