Class PayloadSerializingTransformer

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ExpressionCapable, GenericTransformer<Message<?>,Message<?>>, NamedComponent, Transformer

public class PayloadSerializingTransformer extends PayloadTypeConvertingTransformer<Object,byte[]>
Transformer that serializes the inbound payload into a byte array by delegating to a Converter<Object, byte[]>. Default delegate is a SerializingConverter using Java serialization.

The payload instance must be Serializable if the default converter is used.

Since:
1.0.1
Author:
Mark Fisher, Gary Russell, Artem Bilan