public final class CoreMapMessageWrapper extends CoreMessageWrapper
| Modifier and Type | Field and Description |
|---|---|
static byte |
TYPE |
message| Constructor and Description |
|---|
CoreMapMessageWrapper(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
|
boolean |
getBoolean(String name) |
byte |
getByte(String name) |
byte[] |
getBytes(String name) |
char |
getChar(String name) |
double |
getDouble(String name) |
float |
getFloat(String name) |
int |
getInt(String name) |
long |
getLong(String name) |
Enumeration |
getMapNames() |
Object |
getObject(String name) |
short |
getShort(String name) |
String |
getString(String name) |
boolean |
itemExists(String name) |
void |
setBoolean(String name,
boolean value) |
void |
setByte(String name,
byte value) |
void |
setBytes(String name,
byte[] value) |
void |
setBytes(String name,
byte[] value,
int offset,
int length) |
void |
setChar(String name,
char value) |
void |
setDouble(String name,
double value) |
void |
setFloat(String name,
float value) |
void |
setInt(String name,
int value) |
void |
setLong(String name,
long value) |
void |
setObject(String name,
Object value) |
void |
setShort(String name,
short value) |
void |
setString(String name,
String value) |
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 CoreMapMessageWrapper(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 setBoolean(String name, boolean value)
public void setByte(String name, byte value)
public void setShort(String name, short value)
public void setChar(String name, char value)
public void setInt(String name, int value)
public void setLong(String name, long value)
public void setFloat(String name, float value)
public void setDouble(String name, double value)
public void setBytes(String name, byte[] value)
public void setBytes(String name, byte[] value, int offset, int length)
public void setObject(String name, Object value) throws ActiveMQPropertyConversionException
public boolean getBoolean(String name) throws ActiveMQPropertyConversionException
public byte getByte(String name) throws ActiveMQPropertyConversionException
public short getShort(String name) throws ActiveMQPropertyConversionException
public char getChar(String name) throws ActiveMQPropertyConversionException
public int getInt(String name) throws ActiveMQPropertyConversionException
public long getLong(String name) throws ActiveMQPropertyConversionException
public float getFloat(String name) throws ActiveMQPropertyConversionException
public double getDouble(String name) throws ActiveMQPropertyConversionException
public String getString(String name) throws ActiveMQPropertyConversionException
public byte[] getBytes(String name) throws ActiveMQPropertyConversionException
public Enumeration getMapNames()
public boolean itemExists(String name)
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.