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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
acknowledge, 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, setStringProperty
public static final String MIME_TYPE
public JMSMapMessage(AMQMessageDelegateFactory delegateFactory) throws javax.jms.JMSException
javax.jms.JMSException
public String toBodyString() throws javax.jms.JMSException
toBodyString
in class AbstractJMSMessage
javax.jms.JMSException
protected String getMimeType()
getMimeType
in class AbstractJMSMessage
public void clearBody() throws javax.jms.JMSException
clearBody
in interface javax.jms.Message
clearBody
in class AbstractJMSMessage
javax.jms.JMSException
public boolean getBoolean(String propName) throws javax.jms.JMSException
getBoolean
in interface javax.jms.MapMessage
javax.jms.JMSException
public byte getByte(String propName) throws javax.jms.JMSException
getByte
in interface javax.jms.MapMessage
javax.jms.JMSException
public short getShort(String propName) throws javax.jms.JMSException
getShort
in interface javax.jms.MapMessage
javax.jms.JMSException
public int getInt(String propName) throws javax.jms.JMSException
getInt
in interface javax.jms.MapMessage
javax.jms.JMSException
public long getLong(String propName) throws javax.jms.JMSException
getLong
in interface javax.jms.MapMessage
javax.jms.JMSException
public char getChar(String propName) throws javax.jms.JMSException
getChar
in interface javax.jms.MapMessage
javax.jms.JMSException
public float getFloat(String propName) throws javax.jms.JMSException
getFloat
in interface javax.jms.MapMessage
javax.jms.JMSException
public double getDouble(String propName) throws javax.jms.JMSException
getDouble
in interface javax.jms.MapMessage
javax.jms.JMSException
public String getString(String propName) throws javax.jms.JMSException
getString
in interface javax.jms.MapMessage
javax.jms.JMSException
public byte[] getBytes(String propName) throws javax.jms.JMSException
getBytes
in interface javax.jms.MapMessage
javax.jms.JMSException
public Object getObject(String propName) throws javax.jms.JMSException
getObject
in interface javax.jms.MapMessage
javax.jms.JMSException
public Enumeration getMapNames() throws javax.jms.JMSException
getMapNames
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setBoolean(String propName, boolean b) throws javax.jms.JMSException
setBoolean
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setByte(String propName, byte b) throws javax.jms.JMSException
setByte
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setShort(String propName, short i) throws javax.jms.JMSException
setShort
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setChar(String propName, char c) throws javax.jms.JMSException
setChar
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setInt(String propName, int i) throws javax.jms.JMSException
setInt
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setLong(String propName, long l) throws javax.jms.JMSException
setLong
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setFloat(String propName, float v) throws javax.jms.JMSException
setFloat
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setDouble(String propName, double v) throws javax.jms.JMSException
setDouble
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setString(String propName, String string1) throws javax.jms.JMSException
setString
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setBytes(String propName, byte[] bytes) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setBytes(String propName, byte[] bytes, int offset, int length) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
javax.jms.JMSException
public void setObject(String propName, Object value) throws javax.jms.JMSException
setObject
in interface javax.jms.MapMessage
javax.jms.JMSException
protected void checkPropertyName(String propName)
public boolean itemExists(String propName) throws javax.jms.JMSException
itemExists
in interface javax.jms.MapMessage
javax.jms.JMSException
protected void populateMapFromData(ByteBuffer data) throws javax.jms.JMSException
javax.jms.JMSException
public ByteBuffer getData() throws javax.jms.JMSException
getData
in class AbstractJMSMessage
javax.jms.JMSException
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.