org.mule.processor.chain
Class InterceptingChainLifecycleWrapper
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.processor.chain.AbstractMessageProcessorChain
org.mule.processor.chain.InterceptingChainLifecycleWrapper
- All Implemented Interfaces:
- FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, InterceptingMessageProcessor, MessageProcessor, MessageProcessorChain, MessageSource
public class InterceptingChainLifecycleWrapper
- extends AbstractMessageProcessorChain
Builder needs to return a composite rather than the first MessageProcessor in the
chain. This is so that if this chain is nested in another chain the next
MessageProcessor in the parent chain is not injected into the first in the nested
chain.
InterceptingChainLifecycleWrapper
public InterceptingChainLifecycleWrapper(MessageProcessorChain chain,
List<MessageProcessor> processors,
String name)
getMessageProcessors
public List<MessageProcessor> getMessageProcessors()
- Specified by:
getMessageProcessors in interface MessageProcessorChain- Overrides:
getMessageProcessors in class AbstractMessageProcessorChain
getName
public String getName()
- Specified by:
getName in interface MessageProcessorChain- Overrides:
getName in class AbstractMessageProcessorChain
getPolicies
public Policies getPolicies()
- Specified by:
getPolicies in interface MessageProcessorChain- Overrides:
getPolicies in class AbstractMessageProcessorChain
doProcess
protected MuleEvent doProcess(MuleEvent event)
throws MuleException
- Specified by:
doProcess in class AbstractMessageProcessorChain
- Throws:
MuleException
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.