public final class DefaultExtensionsClient extends Object implements org.mule.runtime.extension.api.client.ExtensionsClient
ExtensionsClient, it uses the ExtensionManager
in the MuleContext to search for the extension that wants to execute the operation from.
The concrete execution of the operation is handled by an OperationMessageProcessor instance.
This implementation can only execute extensions that were built using the SDK, Smart Connectors operations can't be executed.
| Constructor and Description |
|---|
DefaultExtensionsClient() |
| Modifier and Type | Method and Description |
|---|---|
<T,A extends org.mule.runtime.api.message.Attributes> |
execute(String extension,
String operation,
org.mule.runtime.extension.api.client.OperationParameters params) |
<T,A extends org.mule.runtime.api.message.Attributes> |
executeAsync(String extension,
String operation,
org.mule.runtime.extension.api.client.OperationParameters parameters) |
public <T,A extends org.mule.runtime.api.message.Attributes> CompletableFuture<org.mule.runtime.extension.api.runtime.operation.Result<T,A>> executeAsync(String extension, String operation, org.mule.runtime.extension.api.client.OperationParameters parameters)
executeAsync in interface org.mule.runtime.extension.api.client.ExtensionsClientpublic <T,A extends org.mule.runtime.api.message.Attributes> org.mule.runtime.extension.api.runtime.operation.Result<T,A> execute(String extension, String operation, org.mule.runtime.extension.api.client.OperationParameters params) throws org.mule.runtime.api.exception.MuleException
execute in interface org.mule.runtime.extension.api.client.ExtensionsClientorg.mule.runtime.api.exception.MuleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.