org.apache.activemq.command
Class MessageDispatchNotification

java.lang.Object
  extended by org.apache.activemq.command.BaseCommand
      extended by org.apache.activemq.command.MessageDispatchNotification
All Implemented Interfaces:
Command, DataStructure

public class MessageDispatchNotification
extends BaseCommand


Field Summary
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
MessageDispatchNotification()
           
 
Method Summary
 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, isMarshallAware, isMessage, isMessageAck, isMessageDispatch, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setFrom, setResponseRequired, setTo, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

MessageDispatchNotification

public MessageDispatchNotification()
Method Detail

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 © 2005–2013 The Apache Software Foundation. All rights reserved.