public abstract class AbstractMessageProcessingTransformer extends Object implements Transformer, BeanFactoryAware, ManageableLifecycle
MessageProcessor
.Modifier | Constructor and Description |
---|---|
protected |
AbstractMessageProcessingTransformer(MessageProcessor<?> messageProcessor) |
Modifier and Type | Method and Description |
---|---|
protected MessageBuilderFactory |
getMessageBuilderFactory() |
boolean |
isRunning() |
void |
setBeanFactory(BeanFactory beanFactory) |
void |
setNotPropagatedHeaders(String... headers)
Set headers that will NOT be copied from the inbound message if
the handler is configured to copy headers.
|
void |
start() |
void |
stop() |
Message<?> |
transform(Message<?> message) |
protected AbstractMessageProcessingTransformer(MessageProcessor<?> messageProcessor)
public void setBeanFactory(BeanFactory beanFactory)
setBeanFactory
in interface BeanFactoryAware
protected MessageBuilderFactory getMessageBuilderFactory()
public void start()
start
in interface Lifecycle
start
in interface ManageableLifecycle
public void stop()
stop
in interface Lifecycle
stop
in interface ManageableLifecycle
public boolean isRunning()
isRunning
in interface Lifecycle
isRunning
in interface ManageableLifecycle
public void setNotPropagatedHeaders(String... headers)
headers
- the headers to not propagate from the inbound message.public final Message<?> transform(Message<?> message)
transform
in interface GenericTransformer<Message<?>,Message<?>>
transform
in interface Transformer