public class ImmutableProcessorChildContextChainExecutor extends Object implements ChildContextChain, ProcessorChainExecutor
| Constructor and Description |
|---|
ImmutableProcessorChildContextChainExecutor(StreamingManager streamingManager,
CoreEvent event,
MessageProcessorChain chain) |
| Modifier and Type | Method and Description |
|---|---|
List<Processor> |
getMessageProcessors() |
CoreEvent |
getOriginalEvent() |
void |
process(Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess,
BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError) |
void |
process(Object payload,
Object attributes,
Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess,
BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError) |
void |
process(org.mule.runtime.extension.api.runtime.operation.Result input,
Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess,
BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError) |
void |
process(String correlationId,
Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess,
BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError)
Same as
Chain.process(Consumer, BiConsumer), setting the correlation id within the execution as the the one passed. |
public ImmutableProcessorChildContextChainExecutor(StreamingManager streamingManager, CoreEvent event, MessageProcessorChain chain)
public void process(String correlationId, Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess, BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError)
ChildContextChainChain.process(Consumer, BiConsumer), setting the correlation id within the execution as the the one passed.
The correlation id will return to the previous values for the components following the chain execution.
process in interface ChildContextChaincorrelationId - the correlation id to be used in the event within the execution of the chainonSuccess - the callback to be executed when a successful execution is completed by the ChainonError - the callback to be executed when an error occurs during the execution of the Chain componentspublic void process(Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess, BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError)
process in interface org.mule.runtime.extension.api.runtime.route.Chainpublic void process(Object payload, Object attributes, Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess, BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError)
process in interface org.mule.runtime.extension.api.runtime.route.Chainpublic void process(org.mule.runtime.extension.api.runtime.operation.Result input,
Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess,
BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError)
process in interface org.mule.runtime.extension.api.runtime.route.Chainpublic List<Processor> getMessageProcessors()
getMessageProcessors in interface HasMessageProcessorspublic CoreEvent getOriginalEvent()
getOriginalEvent in interface ProcessorChainExecutorCopyright © 2003–2025 MuleSoft, Inc.. All rights reserved.