public class NestedProcessorChain extends Object implements NestedProcessor, MuleContextAware
NestedProcessor that
wraps a MessageProcessor and allows to
execute it| Constructor and Description |
|---|
NestedProcessorChain(MuleEvent event,
MuleContext muleContext,
MessageProcessor chain) |
| Modifier and Type | Method and Description |
|---|---|
Object |
process()
Dispatch original message to the processor chain
|
Object |
process(Object payload)
Dispatch message to the processor chain
|
Object |
process(Object payload,
Map<String,Object> properties)
Dispatch message to the processor chain
|
Object |
processWithExtraProperties(Map<String,Object> properties)
Dispatch original message to the processor chain
|
void |
setChain(MessageProcessor value)
Sets chain
|
void |
setEvent(MuleEvent value)
Sets event
|
void |
setMuleContext(MuleContext value)
Sets muleContext
|
public NestedProcessorChain(MuleEvent event, MuleContext muleContext, MessageProcessor chain)
public void setMuleContext(MuleContext value)
setMuleContext in interface MuleContextAwarevalue - Value to setpublic void setChain(MessageProcessor value)
value - Value to setpublic void setEvent(MuleEvent value)
value - Value to setpublic Object process() throws Exception
NestedProcessorprocess in interface NestedProcessorExceptionpublic Object process(Object payload) throws Exception
NestedProcessorprocess in interface NestedProcessorpayload - The payload of the messageExceptionpublic Object processWithExtraProperties(Map<String,Object> properties) throws Exception
NestedProcessorprocessWithExtraProperties in interface NestedProcessorproperties - Additional invocation propertiesExceptionpublic Object process(Object payload, Map<String,Object> properties) throws Exception
NestedProcessorprocess in interface NestedProcessorpayload - The payload of the messageproperties - Additional invocation propertiesExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.