public class MessageDispatch extends BaseCommand
Modifier and Type | Field and Description |
---|---|
protected ConsumerId |
consumerId |
static byte |
DATA_STRUCTURE_TYPE |
protected ActiveMQDestination |
destination |
protected Message |
message |
protected int |
redeliveryCounter |
commandId, responseRequired
Constructor and Description |
---|
MessageDispatch() |
Modifier and Type | Method and Description |
---|---|
ConsumerId |
getConsumerId() |
byte |
getDataStructureType() |
ActiveMQDestination |
getDestination() |
Message |
getMessage() |
int |
getRedeliveryCounter() |
boolean |
isMessageDispatch() |
void |
setConsumerId(ConsumerId consumerId) |
void |
setDestination(ActiveMQDestination destination) |
void |
setMessage(Message message) |
void |
setRedeliveryCounter(int deliveryCounter) |
copy, getCommandId, isBrokerInfo, isMarshallAware, isMessage, isMessageAck, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequired, toString, toString
public static final byte DATA_STRUCTURE_TYPE
protected ConsumerId consumerId
protected ActiveMQDestination destination
protected Message message
protected int redeliveryCounter
public byte getDataStructureType()
public boolean isMessageDispatch()
isMessageDispatch
in interface Command
isMessageDispatch
in class BaseCommand
public ConsumerId getConsumerId()
public void setConsumerId(ConsumerId consumerId)
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public Message getMessage()
public void setMessage(Message message)
public int getRedeliveryCounter()
public void setRedeliveryCounter(int deliveryCounter)
Copyright © 2011–2014 Red Hat. All rights reserved.