Interface CompletableComponentExecutor.ExecutorCallback
- All Superinterfaces:
org.mule.runtime.api.component.execution.CompletableCallback<Object>
- Enclosing interface:
- CompletableComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel>
public static interface CompletableComponentExecutor.ExecutorCallback
extends org.mule.runtime.api.component.execution.CompletableCallback<Object>
Callback to notify the operation's result.
-
Method Summary
Methods inherited from interface org.mule.runtime.api.component.execution.CompletableCallback
andThen, andThen, before, before, finallyAfter, finallyBefore
-
Method Details
-
complete
Invoked when the operation completed successfully. If the operation is void, anullvalue should be passed- Specified by:
completein interfaceorg.mule.runtime.api.component.execution.CompletableCallback<Object>- Parameters:
value- the operation's result
-
error
This method is invoked when the operation failed to execute.- Specified by:
errorin interfaceorg.mule.runtime.api.component.execution.CompletableCallback<Object>- Parameters:
e- the exception found
-