public class AllOperationExecutor extends Object implements org.mule.runtime.extension.api.runtime.operation.ComponentExecutor<org.mule.runtime.api.meta.model.operation.OperationModel>
all operation.
The reason why we have this custom executor is that unlike regular scopes, the all operation requires
that all processors are executed regardless of their failures, since what we really want is to aggregate
all the validation errors.
However, if one of the nested processors fail with a non validation error, then the execution is aborted and the unexpected error is raised.
If only validation errors are found, a VALIDATION:MULTIPLE error is raised.
| Constructor and Description |
|---|
AllOperationExecutor() |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<Object> |
execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext) |
public org.reactivestreams.Publisher<Object> execute(org.mule.runtime.extension.api.runtime.operation.ExecutionContext<org.mule.runtime.api.meta.model.operation.OperationModel> executionContext)
execute in interface org.mule.runtime.extension.api.runtime.operation.ComponentExecutor<org.mule.runtime.api.meta.model.operation.OperationModel>Copyright © 2017 MuleSoft, Inc.. All rights reserved.