public final class MapMessageImpl extends AbstractMessage implements javax.jms.MapMessage
Implementation of a MapMessage
bodyIsReadOnly| Constructor and Description |
|---|
MapMessageImpl()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
AbstractMessage |
copy()
Create an independant copy of this 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<String> |
getMapNames() |
Object |
getObject(String name) |
short |
getShort(String name) |
String |
getString(String name) |
protected byte |
getType()
Get the type value for this message
|
boolean |
itemExists(String name) |
protected void |
serializeBodyTo(RawDataBuffer out) |
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) |
protected void |
unserializeBodyFrom(RawDataBuffer in) |
acknowledge, assertDeserializationLevel, clearProperties, copyCommonFields, ensureDeserializationLevel, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getRawMessage, getSession, getShortProperty, getStringProperty, initializeFromRaw, isInternalCopy, markAsReadOnly, propertyExists, readMapFrom, serializeTo, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setInternalCopy, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setSession, setShortProperty, setStringProperty, toString, writeMapToclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitacknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertyprotected byte getType()
AbstractMessagegetType in class AbstractMessageprotected void unserializeBodyFrom(RawDataBuffer in)
unserializeBodyFrom in class AbstractMessageprotected void serializeBodyTo(RawDataBuffer out)
serializeBodyTo in class AbstractMessagepublic boolean getBoolean(String name) throws javax.jms.JMSException
getBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic byte getByte(String name) throws javax.jms.JMSException
getByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic byte[] getBytes(String name) throws javax.jms.JMSException
getBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic char getChar(String name) throws javax.jms.JMSException
getChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic double getDouble(String name) throws javax.jms.JMSException
getDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic float getFloat(String name) throws javax.jms.JMSException
getFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic int getInt(String name) throws javax.jms.JMSException
getInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic long getLong(String name) throws javax.jms.JMSException
getLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic Enumeration<String> getMapNames()
getMapNames in interface javax.jms.MapMessagepublic Object getObject(String name) throws javax.jms.JMSException
getObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic short getShort(String name) throws javax.jms.JMSException
getShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic String getString(String name) throws javax.jms.JMSException
getString in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic boolean itemExists(String name) throws javax.jms.JMSException
itemExists in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBoolean(String name, boolean value) throws javax.jms.JMSException
setBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setByte(String name, byte value) throws javax.jms.JMSException
setByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBytes(String name, byte[] value) throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBytes(String name, byte[] value, int offset, int length) throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setChar(String name, char value) throws javax.jms.JMSException
setChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setDouble(String name, double value) throws javax.jms.JMSException
setDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setFloat(String name, float value) throws javax.jms.JMSException
setFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setInt(String name, int value) throws javax.jms.JMSException
setInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setLong(String name, long value) throws javax.jms.JMSException
setLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setObject(String name, Object value) throws javax.jms.JMSException
setObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setShort(String name, short value) throws javax.jms.JMSException
setShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setString(String name, String value) throws javax.jms.JMSException
setString in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void clearBody()
clearBody in interface javax.jms.Messagepublic AbstractMessage copy()
AbstractMessagecopy in class AbstractMessageCopyright © 2019. All rights reserved.