Class CoreTextMessageWrapper
- java.lang.Object
-
- org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreMessageWrapper
-
- org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreTextMessageWrapper
-
public class CoreTextMessageWrapper extends CoreMessageWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static byteTYPE-
Fields inherited from class org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreMessageWrapper
message
-
-
Constructor Summary
Constructors Constructor Description CoreTextMessageWrapper(ICoreMessage message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearBody()org.apache.qpid.proton.amqp.messaging.SectioncreateAMQPSection(Map<org.apache.qpid.proton.amqp.Symbol,Object> maMap, org.apache.qpid.proton.amqp.messaging.Properties properties)voiddecode()voidencode()Encode the body into the internal messageStringgetText()voidsetText(String text)-
Methods inherited from class org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreMessageWrapper
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, wrap
-
-
-
-
Field Detail
-
TYPE
public static final byte TYPE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CoreTextMessageWrapper
public CoreTextMessageWrapper(ICoreMessage message)
-
-
Method Detail
-
createAMQPSection
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)
- Overrides:
createAMQPSectionin classCoreMessageWrapper
-
setText
public void setText(String text)
-
getText
public String getText()
-
clearBody
public void clearBody()
- Overrides:
clearBodyin classCoreMessageWrapper
-
encode
public void encode()
Description copied from class:CoreMessageWrapperEncode the body into the internal message- Overrides:
encodein classCoreMessageWrapper
-
decode
public void decode()
- Overrides:
decodein classCoreMessageWrapper
-
-