org.apache.qpid.client.message
Class AMQPEncodedMapMessage

java.lang.Object
  extended by org.apache.qpid.client.message.AbstractJMSMessage
      extended by org.apache.qpid.client.message.AbstractBytesMessage
          extended by org.apache.qpid.client.message.AbstractBytesTypedMessage
              extended by org.apache.qpid.client.message.JMSMapMessage
                  extended by org.apache.qpid.client.message.AMQPEncodedMapMessage
All Implemented Interfaces:
MapMessage, Message

public class AMQPEncodedMapMessage
extends JMSMapMessage


Field Summary
static String MIME_TYPE
           
 
Fields inherited from class org.apache.qpid.client.message.JMSMapMessage
_map
 
Fields inherited from class org.apache.qpid.client.message.AbstractBytesTypedMessage
BOOLEAN_TYPE, BYTE_TYPE, BYTEARRAY_TYPE, CHAR_TYPE, DOUBLE_TYPE, FLOAT_TYPE, INT_TYPE, LONG_TYPE, NULL_STRING_TYPE, SHORT_TYPE, STRING_TYPE
 
Fields inherited from class org.apache.qpid.client.message.AbstractJMSMessage
_changedData, _data, _delegate, _readableMessage
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Fields inherited from interface org.apache.qpid.jms.Message
JMS_TYPE
 
Constructor Summary
AMQPEncodedMapMessage(AMQMessageDelegate delegate, org.apache.mina.common.ByteBuffer data)
           
AMQPEncodedMapMessage(AMQMessageDelegateFactory delegateFactory)
           
AMQPEncodedMapMessage(AMQMessageDelegateFactory delegateFactory, org.apache.mina.common.ByteBuffer data)
           
 
Method Summary
 org.apache.mina.common.ByteBuffer getData()
           
(package private)  Map<String,Object> getMap()
           
protected  String getMimeType()
           
protected  void populateMapFromData()
           
(package private)  void setMap(Map<String,Object> map)
           
 void setObject(String propName, Object value)
           
protected  void writeMapToData()
           
 
Methods inherited from class org.apache.qpid.client.message.JMSMapMessage
checkPropertyName, clearBodyImpl, getBoolean, getByte, getBytes, getChar, getDouble, getFloat, getInt, getLong, getMapNames, getObject, getShort, getString, itemExists, setBoolean, setByte, setBytes, setBytes, setChar, setDouble, setFloat, setInt, setLong, setShort, setString, toBodyString
 
Methods inherited from class org.apache.qpid.client.message.AbstractBytesTypedMessage
readBoolean, readByte, readBytes, readChar, readDouble, readFloat, readInt, readIntImpl, readLong, readObject, readShort, readString, readStringImpl, readWireType, writeBoolean, writeByte, writeBytes, writeBytes, writeChar, writeDouble, writeFloat, writeInt, writeIntImpl, writeLong, writeObject, writeShort, writeString, writeStringImpl, writeTypeDiscriminator
 
Methods inherited from class org.apache.qpid.client.message.AbstractBytesMessage
allocateInitialBuffer, checkAvailable
 
Methods inherited from class org.apache.qpid.client.message.AbstractJMSMessage
acknowledge, acknowledgeThis, checkReadable, checkWritable, clearBody, clearProperties, getAMQSession, getBooleanProperty, getByteProperty, getContentLength, 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, receivedFromServer, removeProperty, reset, setAMQSession, setBooleanProperty, setByteProperty, setContentType, setDoubleProperty, setEncoding, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.jms.Message
acknowledge, clearBody, 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
 

Field Detail

MIME_TYPE

public static final String MIME_TYPE
See Also:
Constant Field Values
Constructor Detail

AMQPEncodedMapMessage

public AMQPEncodedMapMessage(AMQMessageDelegateFactory delegateFactory)
                      throws JMSException
Throws:
JMSException

AMQPEncodedMapMessage

AMQPEncodedMapMessage(AMQMessageDelegateFactory delegateFactory,
                      org.apache.mina.common.ByteBuffer data)
                throws JMSException
Throws:
JMSException

AMQPEncodedMapMessage

AMQPEncodedMapMessage(AMQMessageDelegate delegate,
                      org.apache.mina.common.ByteBuffer data)
                throws org.apache.qpid.AMQException
Throws:
org.apache.qpid.AMQException
Method Detail

getMimeType

protected String getMimeType()
Overrides:
getMimeType in class JMSMapMessage

setObject

public void setObject(String propName,
                      Object value)
               throws JMSException
Specified by:
setObject in interface MapMessage
Overrides:
setObject in class JMSMapMessage
Throws:
JMSException

getData

public org.apache.mina.common.ByteBuffer getData()
Overrides:
getData in class JMSMapMessage

populateMapFromData

protected void populateMapFromData()
                            throws JMSException
Overrides:
populateMapFromData in class JMSMapMessage
Throws:
JMSException

writeMapToData

protected void writeMapToData()
Overrides:
writeMapToData in class JMSMapMessage

getMap

Map<String,Object> getMap()

setMap

void setMap(Map<String,Object> map)


Licensed to the Apache Software Foundation