Class SimpleMessageConverter

All Implemented Interfaces:
MessageConverter, Aware, BeanClassLoaderAware

public class SimpleMessageConverter extends AllowedListDeserializingMessageConverter implements BeanClassLoaderAware
Implementation of MessageConverter that can work with Strings, Serializable instances, or byte arrays. The AbstractMessageConverter.toMessage(Object, MessageProperties) method simply checks the type of the provided instance while the fromMessage(Message) method relies upon the content-type of the provided Message.
Author:
Mark Fisher, Oleg Zhurakousky, Gary Russell, Artem Bilan