@MetadataScope(outputResolver=DataLoaderMetadataResolver.class) @Alias(value="DataLoader") @EmitsResponse public class DataLoaderSource extends ApikitSource<Set<Object>,DataLoaderAttributes,org.mule.runtime.api.metadata.TypedValue<Object>>
When used as the source for a flow it pushes a list of keys as its attributes.
When the flow completes it expects a list of the same size, where the i-th element is the result for the i-th key.
| Constructor and Description |
|---|
DataLoaderSource() |
| Modifier and Type | Method and Description |
|---|---|
protected DataLoadingRoutingKey |
getKey() |
void |
onSuccess(org.mule.runtime.api.metadata.TypedValue<Object> bodyContent,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback) |
convert, failure, onError, onStart, onStop, onTerminate, successprotected DataLoadingRoutingKey getKey()
getKey in class ApikitSource<Set<Object>,DataLoaderAttributes,org.mule.runtime.api.metadata.TypedValue<Object>>@OnSuccess
public void onSuccess(@Placement(tab="Responses",order=1) @Content
org.mule.runtime.api.metadata.TypedValue<Object> bodyContent,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
Copyright © 2026 MuleSoft, Inc.. All rights reserved.