public class JMSMapMessage extends AbstractJMSMessage implements javax.jms.MapMessage
| Modifier and Type | Field and Description |
|---|---|
static String |
MIME_TYPE |
| Constructor and Description |
|---|
JMSMapMessage(AMQMessageDelegateFactory delegateFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkPropertyName(String propName) |
void |
clearBody() |
boolean |
getBoolean(String propName) |
byte |
getByte(String propName) |
byte[] |
getBytes(String propName) |
char |
getChar(String propName) |
ByteBuffer |
getData() |
double |
getDouble(String propName) |
float |
getFloat(String propName) |
int |
getInt(String propName) |
long |
getLong(String propName) |
protected Map<String,Object> |
getMap() |
Enumeration |
getMapNames() |
protected String |
getMimeType() |
Object |
getObject(String propName) |
short |
getShort(String propName) |
String |
getString(String propName) |
boolean |
itemExists(String propName) |
protected void |
populateMapFromData(ByteBuffer data) |
void |
setBoolean(String propName,
boolean b) |
void |
setByte(String propName,
byte b) |
void |
setBytes(String propName,
byte[] bytes) |
void |
setBytes(String propName,
byte[] bytes,
int offset,
int length) |
void |
setChar(String propName,
char c) |
void |
setDouble(String propName,
double v) |
void |
setFloat(String propName,
float v) |
void |
setInt(String propName,
int i) |
void |
setLong(String propName,
long l) |
protected void |
setMap(Map<String,Object> map) |
void |
setObject(String propName,
Object value) |
void |
setShort(String propName,
short i) |
void |
setString(String propName,
String string1) |
String |
toBodyString() |
acknowledge, acknowledgeThis, checkWritable, clearProperties, getAMQSession, getBooleanProperty, getByteProperty, getContentType, getDelegate, getDeliveryTag, getDoubleProperty, getEncoding, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getReplyToString, getShortProperty, getStringProperty, prepareForSending, propertyExists, removeProperty, setAMQSession, setBooleanProperty, setByteProperty, setContentType, setDoubleProperty, setEncoding, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReceivedFromServer, setShortProperty, setStringProperty, toHeaderString, toStringclone, 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, setStringPropertypublic static final String MIME_TYPE
public JMSMapMessage(AMQMessageDelegateFactory delegateFactory) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic String toBodyString() throws javax.jms.JMSException
toBodyString in class AbstractJMSMessagejavax.jms.JMSExceptionprotected String getMimeType()
getMimeType in class AbstractJMSMessagepublic void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class AbstractJMSMessagejavax.jms.JMSExceptionpublic boolean getBoolean(String propName) throws javax.jms.JMSException
getBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic byte getByte(String propName) throws javax.jms.JMSException
getByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic short getShort(String propName) throws javax.jms.JMSException
getShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic int getInt(String propName) throws javax.jms.JMSException
getInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic long getLong(String propName) throws javax.jms.JMSException
getLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic char getChar(String propName) throws javax.jms.JMSException
getChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic float getFloat(String propName) throws javax.jms.JMSException
getFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic double getDouble(String propName) throws javax.jms.JMSException
getDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic String getString(String propName) throws javax.jms.JMSException
getString in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic byte[] getBytes(String propName) throws javax.jms.JMSException
getBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic Object getObject(String propName) throws javax.jms.JMSException
getObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic Enumeration getMapNames() throws javax.jms.JMSException
getMapNames in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBoolean(String propName, boolean b) throws javax.jms.JMSException
setBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setByte(String propName, byte b) throws javax.jms.JMSException
setByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setShort(String propName, short i) throws javax.jms.JMSException
setShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setChar(String propName, char c) throws javax.jms.JMSException
setChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setInt(String propName, int i) throws javax.jms.JMSException
setInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setLong(String propName, long l) throws javax.jms.JMSException
setLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setFloat(String propName, float v) throws javax.jms.JMSException
setFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setDouble(String propName, double v) throws javax.jms.JMSException
setDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setString(String propName, String string1) throws javax.jms.JMSException
setString in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBytes(String propName, byte[] bytes) throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setBytes(String propName, byte[] bytes, int offset, int length) throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionpublic void setObject(String propName, Object value) throws javax.jms.JMSException
setObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionprotected void checkPropertyName(String propName)
public boolean itemExists(String propName) throws javax.jms.JMSException
itemExists in interface javax.jms.MapMessagejavax.jms.JMSExceptionprotected void populateMapFromData(ByteBuffer data) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic ByteBuffer getData() throws javax.jms.JMSException
getData in class AbstractJMSMessagejavax.jms.JMSExceptionCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.