public class PayloadSerializingTransformer extends PayloadTypeConvertingTransformer<Object,byte[]>
SerializingConverter
using
Java serialization.
The payload instance must be Serializable if the default converter is used.
converter
logger
Constructor and Description |
---|
PayloadSerializingTransformer() |
Modifier and Type | Method and Description |
---|---|
void |
setSerializer(Serializer<Object> serializer) |
protected byte[] |
transformPayload(Object payload) |
setConverter
doTransform
transform
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
public void setSerializer(Serializer<Object> serializer)
protected byte[] transformPayload(Object payload) throws Exception
transformPayload
in class PayloadTypeConvertingTransformer<Object,byte[]>
Exception