public abstract class AbstractTransformer extends IntegrationObjectSupport implements Transformer
Transformer
implementations.logger
Constructor and Description |
---|
AbstractTransformer() |
Modifier and Type | Method and Description |
---|---|
protected abstract Object |
doTransform(Message<?> message)
Subclasses must implement this method to provide the transformation
logic.
|
Message<?> |
transform(Message<?> message) |
afterPropertiesSet, getApplicationContextId, getBeanFactory, getComponentName, getComponentType, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, onInit, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, setTaskScheduler, toString
public final Message<?> transform(Message<?> message)
transform
in interface GenericTransformer<Message<?>,Message<?>>
transform
in interface Transformer
protected abstract Object doTransform(Message<?> message) throws Exception
message
- The message.Exception
- Any exception.