public class ActiveMQMessage extends Message
Modifier and Type | Field and Description |
---|---|
static byte |
DATA_STRUCTURE_TYPE |
arrival, brokerInTime, brokerOutTime, cachedEncoding, compressed, content, correlationId, dataStructure, DEFAULT_MINIMUM_MESSAGE_SIZE, destination, droppable, encodedSize, expiration, groupID, groupSequence, marshalledProperties, messageId, originalDestination, originalTransactionId, persistent, priority, producerId, properties, readOnlyBody, readOnlyProperties, recievedByDFBridge, redeliveryCounter, replyTo, size, targetConsumerId, timestamp, transactionId, type, userID
commandId, responseRequired
Constructor and Description |
---|
ActiveMQMessage() |
afterMarshall, afterUnmarshall, beforeMarshall, beforeUnmarshall, clearMarshalledState, copy, decrementReferenceCount, getArrival, getBrokerInTime, getBrokerOutTime, getBrokerPath, getCachedEncoding, getCluster, getContent, getCorrelationId, getDataStructure, getDestination, getEncodedSize, getExpiration, getGroupID, getGroupSequence, getMarshalledProperties, getMessage, getMessageHardRef, getMessageId, getMinimumMessageSize, getOriginalDestination, getOriginalTransactionId, getPriority, getProducerId, getProperties, getProperty, getRedeliveryCounter, getReferenceCount, getReplyTo, getSize, getTargetConsumerId, getTimestamp, getTransactionId, getType, getUserID, incrementRedeliveryCounter, incrementReferenceCount, isAdvisory, isCompressed, isDroppable, isDropped, isInTransaction, isMarshallAware, isMessage, isPersistent, isReadOnlyBody, isReadOnlyProperties, isRecievedByDFBridge, isRedelivered, lazyCreateProperties, onMessageRolledBack, setArrival, setBrokerInTime, setBrokerOutTime, setBrokerPath, setCachedEncoding, setCluster, setCompressed, setContent, setCorrelationId, setDataStructure, setDestination, setDroppable, setEncodedSize, setExpiration, setGroupID, setGroupSequence, setMarshalledProperties, setMessageId, setOriginalDestination, setOriginalTransactionId, setPersistent, setPriority, setProducerId, setProperty, setReadOnlyBody, setReadOnlyProperties, setRecievedByDFBridge, setRedelivered, setRedeliveryCounter, setReplyTo, setTargetConsumerId, setTimestamp, setTransactionId, setType, setUserID, toString, toString
copy, getCommandId, isBrokerInfo, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequired
public static final byte DATA_STRUCTURE_TYPE
public byte getDataStructureType()
protected void copy(ActiveMQMessage copy)
public void clearBody() throws OpenwireException
clearBody
in class Message
OpenwireException
public void clearProperties()
clearProperties
in class Message
public boolean propertyExists(String name) throws OpenwireException
OpenwireException
public Enumeration getPropertyNames() throws OpenwireException
OpenwireException
public void setObjectProperty(String name, Object value) throws OpenwireException
OpenwireException
public void setObjectProperty(String name, Object value, boolean checkReadOnly) throws OpenwireException
OpenwireException
protected void checkValidObject(Object value) throws OpenwireException
OpenwireException
public Object getObjectProperty(String name) throws OpenwireException
OpenwireException
public boolean getBooleanProperty(String name) throws OpenwireException
OpenwireException
public byte getByteProperty(String name) throws OpenwireException
OpenwireException
public short getShortProperty(String name) throws OpenwireException
OpenwireException
public int getIntProperty(String name) throws OpenwireException
OpenwireException
public long getLongProperty(String name) throws OpenwireException
OpenwireException
public float getFloatProperty(String name) throws OpenwireException
OpenwireException
public double getDoubleProperty(String name) throws OpenwireException
OpenwireException
public String getStringProperty(String name) throws OpenwireException
OpenwireException
public void setBooleanProperty(String name, boolean value) throws OpenwireException
OpenwireException
public void setBooleanProperty(String name, boolean value, boolean checkReadOnly) throws OpenwireException
OpenwireException
public void setByteProperty(String name, byte value) throws OpenwireException
OpenwireException
public void setShortProperty(String name, short value) throws OpenwireException
OpenwireException
public void setIntProperty(String name, int value) throws OpenwireException
OpenwireException
public void setLongProperty(String name, long value) throws OpenwireException
OpenwireException
public void setFloatProperty(String name, float value) throws OpenwireException
OpenwireException
public void setDoubleProperty(String name, double value) throws OpenwireException
OpenwireException
public void setStringProperty(String name, String value) throws OpenwireException
OpenwireException
protected void checkReadOnlyBody() throws OpenwireException
OpenwireException
public void onSend() throws OpenwireException
OpenwireException
Copyright © 2011–2014 Red Hat. All rights reserved.