public class PayloadSerializingTransformer extends PayloadTypeConvertingTransformer<Object,byte[]>
SerializingConverter
using
Java serialization.
The payload instance must be Serializable if the default converter is used.
EXPRESSION_PARSER, logger
Constructor and Description |
---|
PayloadSerializingTransformer()
Instantiate based on the
SerializingConverter with the
DefaultSerializer . |
Modifier and Type | Method and Description |
---|---|
void |
setSerializer(Serializer<Object> serializer) |
doSetConverter, getConverter, onInit, setConverter, transformPayload
doTransform
transform
afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getComponentType, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
public PayloadSerializingTransformer()
SerializingConverter
with the
DefaultSerializer
.public void setSerializer(Serializer<Object> serializer)