org.apache.qpid.client.message
Class JMSObjectMessage
java.lang.Object
org.apache.qpid.client.message.AbstractJMSMessage
org.apache.qpid.client.message.JMSObjectMessage
- All Implemented Interfaces:
- Message, ObjectMessage
public class JMSObjectMessage
- extends AbstractJMSMessage
- implements ObjectMessage
Methods inherited from class org.apache.qpid.client.message.AbstractJMSMessage |
acknowledge, acknowledgeThis, checkReadable, checkWritable, clearBody, clearProperties, getAMQSession, getBooleanProperty, getByteProperty, getContentLength, getContentType, getData, 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 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 |
MIME_TYPE
public static final String MIME_TYPE
- See Also:
- Constant Field Values
JMSObjectMessage
public JMSObjectMessage(AMQMessageDelegateFactory delegateFactory)
- Creates empty, writable message for use by producers
- Parameters:
delegateFactory
-
JMSObjectMessage
JMSObjectMessage(AMQMessageDelegate delegate,
org.apache.mina.common.ByteBuffer data)
throws org.apache.qpid.AMQException
- Creates read only message for delivery to consumers
- Throws:
org.apache.qpid.AMQException
clearBodyImpl
public void clearBodyImpl()
throws JMSException
- Description copied from class:
AbstractJMSMessage
- This forces concrete classes to implement clearBody()
- Specified by:
clearBodyImpl
in class AbstractJMSMessage
- Throws:
JMSException
toBodyString
public String toBodyString()
throws JMSException
- Description copied from class:
AbstractJMSMessage
- Get a String representation of the body of the message. Used in the toString() method which outputs this before
message properties.
- Specified by:
toBodyString
in class AbstractJMSMessage
- Throws:
JMSException
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in class AbstractJMSMessage
setObject
public void setObject(Serializable serializable)
throws JMSException
- Specified by:
setObject
in interface ObjectMessage
- Throws:
JMSException
getObject
public Serializable getObject()
throws JMSException
- Specified by:
getObject
in interface ObjectMessage
- Throws:
JMSException
Licensed to the Apache Software Foundation