public interface RouterCompletionCallback extends CompletionCallback<Object,Object>
components receiving Routes notify their outcome.
In order to implement a Router (that is, an operation that receives one or more Routes), the method needs to:
RouterCompletionCallback type
When the execution of the router (and therefore one or more of its routes) has finished,
it has to notify the result either by invoking the CompletionCallback.success(Result) or CompletionCallback.error(Throwable) methods.
Only then will the router's execution be considered as completed and the next processor in the
pipeline will be executed.
If the CompletionCallback.success(Result) or CompletionCallback.error(Throwable) methods are invoked before any of the nested Routes
is completed, the Result of the nested execution will be lost and never propagated.
error, successCopyright © 2017 MuleSoft, Inc.. All rights reserved.