public class CoreTextMessageWrapper extends CoreMessageWrapper
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
message| Constructor and Description |
|---|
CoreTextMessageWrapper(ICoreMessage message) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
org.apache.qpid.proton.amqp.messaging.Section |
createAMQPSection(Map<org.apache.qpid.proton.amqp.Symbol,Object> maMap,
org.apache.qpid.proton.amqp.messaging.Properties properties) |
void |
decode() |
void |
encode()
Encode the body into the internal message
|
String |
getText() |
void |
setText(String text) |
clearProperties, getBooleanProperty, getByteProperty, getDestination, getDoubleProperty, getExpiration, getFloatProperty, getInnerMessage, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSMessageID, getJMSPriority, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getOrignalEncoding, getPropertyNames, getReadBodyBuffer, getShortProperty, getStringProperty, getWriteBodyBuffer, propertyExists, setBooleanProperty, setByteProperty, setDeliveryMode, setDestination, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, wrappublic static final byte TYPE
public CoreTextMessageWrapper(ICoreMessage message)
public org.apache.qpid.proton.amqp.messaging.Section createAMQPSection(Map<org.apache.qpid.proton.amqp.Symbol,Object> maMap, org.apache.qpid.proton.amqp.messaging.Properties properties)
createAMQPSection in class CoreMessageWrapperpublic void setText(String text)
public String getText()
public void clearBody()
clearBody in class CoreMessageWrapperpublic void encode()
CoreMessageWrapperencode in class CoreMessageWrapperpublic void decode()
decode in class CoreMessageWrapperCopyright © 2021 The Apache Software Foundation. All rights reserved.