public interface JmsObjectMessageFacade extends JmsMessageFacade
| Modifier and Type | Method and Description |
|---|---|
JmsObjectMessageFacade |
copy()
Create a new instance and perform a deep copy of this object's
contents.
|
Serializable |
getObject()
Gets the Object value that is contained in the provider message.
|
void |
setObject(Serializable value)
Stores the given object into the provider Message.
|
clearBody, clearProperties, encodeMessage, getCorrelationId, getCorrelationIdBytes, getDeliveryCount, getDeliveryTime, getDestination, getExpiration, getGroupId, getGroupSequence, getMessageId, getPriority, getProperty, getPropertyNames, getProviderMessageIdObject, getRedeliveryCount, getReplyTo, getTimestamp, getType, getUserId, getUserIdBytes, hasBody, isDeliveryTimeTransmitted, isPersistent, isRedelivered, onDispatch, onSend, propertyExists, setCorrelationId, setCorrelationIdBytes, setDeliveryCount, setDeliveryTime, setDestination, setExpiration, setGroupId, setGroupSequence, setMessageId, setPersistent, setPriority, setProperty, setProviderMessageIdObject, setRedelivered, setRedeliveryCount, setReplyTo, setTimestamp, setType, setUserId, setUserIdBytesfilterTracingAnnotations, getTracingAnnotation, getTracingContext, removeTracingAnnotation, removeTracingContext, setTracingAnnotation, setTracingContextJmsObjectMessageFacade copy() throws javax.jms.JMSException
JmsMessageFacadecopy in interface JmsMessageFacadejavax.jms.JMSException - if an error occurs while copying this message.Serializable getObject() throws IOException, ClassNotFoundException
IOException - if the provider fails to get the object due to some internal error.ClassNotFoundException - if object de-serialization fails because the ClassLoader
cannot find the Class locally.void setObject(Serializable value) throws IOException
value - the new value to write to the provider message.IOException - if the provider fails to store the object due to some internal error.Copyright © 2013–2019 The Apache Software Foundation. All rights reserved.