public class PayloadSerializingTransformer extends PayloadTypeConvertingTransformer<java.lang.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(org.springframework.core.serializer.Serializer<java.lang.Object> serializer) |
protected byte[] |
transformPayload(java.lang.Object payload) |
setConverter
doTransform
transform
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setTaskScheduler, toString
public void setSerializer(org.springframework.core.serializer.Serializer<java.lang.Object> serializer)
protected byte[] transformPayload(java.lang.Object payload) throws java.lang.Exception
transformPayload
in class PayloadTypeConvertingTransformer<java.lang.Object,byte[]>
java.lang.Exception