public class JmsObjectMessage extends JmsMessage implements javax.jms.ObjectMessage
acknowledgeCallback, connection, readOnly, readOnlyBody, readOnlyProperties, validatePropertyNames| Constructor and Description |
|---|
JmsObjectMessage(JmsObjectMessageFacade facade) |
| Modifier and Type | Method and Description |
|---|---|
JmsObjectMessage |
copy() |
protected <T> T |
doGetBody(Class<T> asType) |
Serializable |
getObject() |
boolean |
isBodyAssignableTo(Class target) |
void |
setObject(Serializable newObject) |
String |
toString() |
acknowledge, checkReadOnly, checkReadOnlyBody, checkReadOnlyProperties, checkWriteOnlyBody, clearBody, clearProperties, copy, equals, getAcknowledgeCallback, getAllPropertyNames, getBody, getBooleanProperty, getByteProperty, getConnection, getDoubleProperty, getFacade, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, hashCode, isExpired, isReadOnly, isReadOnlyBody, isReadOnlyProperties, isValidatePropertyNames, onDispatch, onSend, onSendComplete, propertyExists, setAcknowledgeCallback, setBooleanProperty, setByteProperty, setConnection, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setReadOnly, setReadOnlyBody, setReadOnlyProperties, setShortProperty, setStringProperty, setValidatePropertyNamesclone, finalize, getClass, notify, notifyAll, wait, wait, waitacknowledge, clearBody, clearProperties, getBody, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDeliveryTime, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDeliveryTime, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertypublic JmsObjectMessage(JmsObjectMessageFacade facade)
public JmsObjectMessage copy() throws javax.jms.JMSException
copy in class JmsMessagejavax.jms.JMSExceptionpublic void setObject(Serializable newObject) throws javax.jms.JMSException
setObject in interface javax.jms.ObjectMessagejavax.jms.JMSExceptionpublic Serializable getObject() throws javax.jms.JMSException
getObject in interface javax.jms.ObjectMessagejavax.jms.JMSExceptionpublic boolean isBodyAssignableTo(Class target) throws javax.jms.JMSException
isBodyAssignableTo in interface javax.jms.MessageisBodyAssignableTo in class JmsMessagejavax.jms.JMSExceptionprotected <T> T doGetBody(Class<T> asType) throws javax.jms.JMSException
doGetBody in class JmsMessagejavax.jms.JMSExceptionpublic String toString()
toString in class JmsMessageCopyright © 2013–2019 The Apache Software Foundation. All rights reserved.