org.mule.processor.chain
Class AbstractMessageProcessorChainBuilder
java.lang.Object
org.mule.processor.chain.AbstractMessageProcessorChainBuilder
- All Implemented Interfaces:
- MessageProcessorBuilder, MessageProcessorChainBuilder
- Direct Known Subclasses:
- DefaultMessageProcessorChainBuilder
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processors
protected List processors
name
protected String name
flowConstruct
protected FlowConstruct flowConstruct
AbstractMessageProcessorChainBuilder
public AbstractMessageProcessorChainBuilder()
AbstractMessageProcessorChainBuilder
public AbstractMessageProcessorChainBuilder(FlowConstruct flowConstruct)
initializeMessageProcessor
protected MessageProcessor initializeMessageProcessor(Object processor)
throws MuleException
- Throws:
MuleException
setName
public void setName(String name)
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.