Class EncodingPayloadTransformer<T>

Type Parameters:
T - inbound payload type.
All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ComponentSourceAware, ExpressionCapable, GenericTransformer<Message<?>,Message<?>>, NamedComponent, Transformer

public class EncodingPayloadTransformer<T> extends AbstractPayloadTransformer<T,byte[]>
AbstractPayloadTransformer that delegates to a codec to encode the payload into a byte[].
Since:
4.2
Author:
Gary Russell
  • Constructor Details

    • EncodingPayloadTransformer

      public EncodingPayloadTransformer(Codec codec)
  • Method Details