public class NestedProcessorChain extends Object implements NestedProcessor
NestedProcessor that wraps a Processor and allows to execute it| Constructor and Description |
|---|
NestedProcessorChain(Event event,
Processor 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(Processor value)
Sets chain
|
void |
setEvent(Event value)
Sets event
|
public void setChain(Processor value)
value - Value to setpublic void setEvent(Event 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–2017 MuleSoft, Inc.. All rights reserved.