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, userIDcommandId, 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, toStringcopy, getCommandId, isBrokerInfo, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequiredpublic static final byte DATA_STRUCTURE_TYPE
public byte getDataStructureType()
protected void copy(ActiveMQMessage copy)
public void clearBody()
throws OpenwireException
clearBody in class MessageOpenwireExceptionpublic void clearProperties()
clearProperties in class Messagepublic boolean propertyExists(String name) throws OpenwireException
OpenwireExceptionpublic Enumeration getPropertyNames() throws OpenwireException
OpenwireExceptionpublic void setObjectProperty(String name, Object value) throws OpenwireException
OpenwireExceptionpublic void setObjectProperty(String name, Object value, boolean checkReadOnly) throws OpenwireException
OpenwireExceptionprotected void checkValidObject(Object value) throws OpenwireException
OpenwireExceptionpublic Object getObjectProperty(String name) throws OpenwireException
OpenwireExceptionpublic boolean getBooleanProperty(String name) throws OpenwireException
OpenwireExceptionpublic byte getByteProperty(String name) throws OpenwireException
OpenwireExceptionpublic short getShortProperty(String name) throws OpenwireException
OpenwireExceptionpublic int getIntProperty(String name) throws OpenwireException
OpenwireExceptionpublic long getLongProperty(String name) throws OpenwireException
OpenwireExceptionpublic float getFloatProperty(String name) throws OpenwireException
OpenwireExceptionpublic double getDoubleProperty(String name) throws OpenwireException
OpenwireExceptionpublic String getStringProperty(String name) throws OpenwireException
OpenwireExceptionpublic void setBooleanProperty(String name, boolean value) throws OpenwireException
OpenwireExceptionpublic void setBooleanProperty(String name, boolean value, boolean checkReadOnly) throws OpenwireException
OpenwireExceptionpublic void setByteProperty(String name, byte value) throws OpenwireException
OpenwireExceptionpublic void setShortProperty(String name, short value) throws OpenwireException
OpenwireExceptionpublic void setIntProperty(String name, int value) throws OpenwireException
OpenwireExceptionpublic void setLongProperty(String name, long value) throws OpenwireException
OpenwireExceptionpublic void setFloatProperty(String name, float value) throws OpenwireException
OpenwireExceptionpublic void setDoubleProperty(String name, double value) throws OpenwireException
OpenwireExceptionpublic void setStringProperty(String name, String value) throws OpenwireException
OpenwireExceptionprotected void checkReadOnlyBody()
throws OpenwireException
OpenwireExceptionpublic void onSend()
throws OpenwireException
OpenwireExceptionCopyright © 2011–2015 Red Hat. All rights reserved.