public class ImmutableProcessorChainExecutor extends Object implements org.mule.runtime.extension.api.runtime.route.Chain, HasMessageProcessors
Chain that wraps a Processor and allows to execute it| Modifier and Type | Field and Description |
|---|---|
static String |
INNER_CHAIN_CTX_MAPPING |
| Constructor and Description |
|---|
ImmutableProcessorChainExecutor(CoreEvent event,
MessageProcessorChain chain)
Creates a new immutable instance
|
| Modifier and Type | Method and Description |
|---|---|
List<Processor> |
getMessageProcessors() |
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 result,
Consumer<org.mule.runtime.extension.api.runtime.operation.Result> onSuccess,
BiConsumer<Throwable,org.mule.runtime.extension.api.runtime.operation.Result> onError) |
public static final String INNER_CHAIN_CTX_MAPPING
public ImmutableProcessorChainExecutor(CoreEvent event, MessageProcessorChain chain)
public 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 result,
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 HasMessageProcessorsCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.