public abstract class AbstractMessageProcessorChainBuilder extends Object implements MessageProcessorChainBuilder
Constructs a chain of MessageProcessor
s and wraps the invocation of the chain in a composite
MessageProcessor. Both MessageProcessors and InterceptingMessageProcessor's can be chained together
arbitrarily in a single chain. InterceptingMessageProcessors simply intercept the next MessageProcessor in
the chain. When other non-intercepting MessageProcessors are used an adapter is used internally to chain
the MessageProcessor with the next in the chain.
The MessageProcessor instance that this builder builds can be nested in other chains as required.
Modifier and Type | Field and Description |
---|---|
protected FlowConstruct |
flowConstruct |
protected String |
name |
protected List |
processors |
Constructor and Description |
---|
AbstractMessageProcessorChainBuilder() |
AbstractMessageProcessorChainBuilder(FlowConstruct flowConstruct) |
Modifier and Type | Method and Description |
---|---|
protected MessageProcessor |
initializeMessageProcessor(Object processor) |
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
chain, chain
build
protected List processors
protected String name
protected FlowConstruct flowConstruct
public AbstractMessageProcessorChainBuilder()
public AbstractMessageProcessorChainBuilder(FlowConstruct flowConstruct)
protected MessageProcessor initializeMessageProcessor(Object processor) throws MuleException
MuleException
public void setName(String name)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.