public class RemoteInvocationAwareMessageConverterAdapter extends Object implements MessageConverter, BeanClassLoaderAware
RemoteInvocationResult after invoking
the delegate to convert from a message.
Delegates to a SimpleMessageConverter by default.| Constructor and Description |
|---|
RemoteInvocationAwareMessageConverterAdapter() |
RemoteInvocationAwareMessageConverterAdapter(MessageConverter delegate) |
| Modifier and Type | Method and Description |
|---|---|
Object |
fromMessage(Message message)
Convert from a Message to a Java object.
|
void |
setBeanClassLoader(ClassLoader classLoader) |
Message |
toMessage(Object object,
MessageProperties messageProperties)
Convert a Java object to a Message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoMessagepublic RemoteInvocationAwareMessageConverterAdapter()
public RemoteInvocationAwareMessageConverterAdapter(MessageConverter delegate)
public void setBeanClassLoader(ClassLoader classLoader)
setBeanClassLoader in interface BeanClassLoaderAwarepublic Message toMessage(Object object, MessageProperties messageProperties) throws MessageConversionException
MessageConvertertoMessage in interface MessageConverterobject - the object to convertmessageProperties - The message properties.MessageConversionException - in case of conversion failurepublic Object fromMessage(Message message) throws MessageConversionException
MessageConverterfromMessage in interface MessageConvertermessage - the message to convertMessageConversionException - in case of conversion failure