public class ActiveMQTextMessage extends ActiveMQMessage
| Modifier and Type | Field and Description |
|---|---|
static byte |
DATA_STRUCTURE_TYPE |
protected java.lang.String |
text |
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 |
|---|
ActiveMQTextMessage() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMarshall(OpenWireFormat wireFormat) |
void |
beforeMarshall(OpenWireFormat wireFormat) |
void |
clearBody() |
void |
clearMarshalledState() |
Message |
copy() |
byte |
getDataStructureType() |
java.lang.String |
getJMSXMimeType() |
int |
getSize() |
java.lang.String |
getText() |
void |
setText(java.lang.String text) |
java.lang.String |
toString() |
checkReadOnlyBody, checkValidObject, clearProperties, copy, equals, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isExpired, onSend, propertyExists, setBooleanProperty, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setLongProperty, setObjectProperty, setObjectProperty, setShortProperty, setStringPropertyafterUnmarshall, beforeUnmarshall, 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, 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, toStringcopy, getCommandId, isBrokerInfo, isMessageAck, isMessageDispatch, isMessageDispatchNotification, isResponse, isResponseRequired, isShutdownInfo, isWireFormatInfo, setCommandId, setResponseRequiredpublic static final byte DATA_STRUCTURE_TYPE
protected java.lang.String text
public Message copy()
copy in class ActiveMQMessagepublic byte getDataStructureType()
getDataStructureType in interface DataStructuregetDataStructureType in class ActiveMQMessagepublic java.lang.String getJMSXMimeType()
public void setText(java.lang.String text)
throws OpenwireException
OpenwireExceptionpublic java.lang.String getText()
throws OpenwireException
OpenwireExceptionpublic void beforeMarshall(OpenWireFormat wireFormat) throws java.io.IOException
beforeMarshall in interface MarshallAwarebeforeMarshall in class Messagejava.io.IOExceptionpublic void afterMarshall(OpenWireFormat wireFormat) throws java.io.IOException
afterMarshall in interface MarshallAwareafterMarshall in class Messagejava.io.IOExceptionpublic void clearMarshalledState()
clearMarshalledState in class Messagepublic void clearBody()
throws OpenwireException
clearBody in class ActiveMQMessageOpenwireExceptionCopyright © 2014 Red Hat. All Rights Reserved.