Class CoreTextMessageWrapper
java.lang.Object
org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreMessageWrapper
org.apache.activemq.artemis.protocol.amqp.converter.coreWrapper.CoreTextMessageWrapper
-
Field Summary
FieldsFields inherited from class CoreMessageWrapper
message -
Constructor Summary
ConstructorsConstructorDescriptionCoreTextMessageWrapper(ICoreMessage message) This constructor is used to construct messages prior to sending -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.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 messagegetText()voidMethods inherited from class 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 Details
-
TYPE
public static final byte TYPE- See Also:
-
-
Constructor Details
-
CoreTextMessageWrapper
This constructor is used to construct messages prior to sending
-
-
Method Details
-
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
-
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
-