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 ConsumerIdconsumerIdstatic byteDATA_STRUCTURE_TYPEprotected longdeliverySequenceIdprotected ActiveMQDestinationdestinationprotected MessageIdmessageId-
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 ConsumerIdgetConsumerId()bytegetDataStructureType()longgetDeliverySequenceId()ActiveMQDestinationgetDestination()MessageIdgetMessageId()booleanisMessageDispatchNotification()voidsetConsumerId(ConsumerId consumerId)voidsetDeliverySequenceId(long deliverySequenceId)voidsetDestination(ActiveMQDestination destination)voidsetMessageId(MessageId messageId)Responsevisit(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:
isMessageDispatchNotificationin interfaceCommand- Overrides:
isMessageDispatchNotificationin 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)
-
-