@MetadataScope(keysResolver=TestInputOutputSourceResolverWithKeyResolver.class, outputResolver=TestInputAndOutputWithAttributesResolverWithKeyResolver.class) public class MetadataSourceWithCallbackParameters extends org.mule.runtime.extension.api.runtime.source.Source<Map<String,Object>,org.mule.tck.message.StringAttributes>
| Constructor and Description |
|---|
MetadataSourceWithCallbackParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(ErrorResponse errorResponse,
Object errorObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback) |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<Map<String,Object>,org.mule.tck.message.StringAttributes> sourceCallback) |
void |
onStop() |
void |
onSuccess(SuccessResponse successResponse,
Object successObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback) |
public static boolean STARTED
@MetadataKeyId @Parameter public String type
public MetadataSourceWithCallbackParameters()
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback<Map<String,Object>,org.mule.tck.message.StringAttributes> sourceCallback) throws org.mule.runtime.api.exception.MuleException
@OnSuccess
public void onSuccess(@ParameterGroup(name="Response",showInDsl=true)
SuccessResponse successResponse,
@TypeResolver(value=TestMetadataInputCarResolver.class)
Object successObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
@OnError
public void onError(@ParameterGroup(name="Error Response",showInDsl=true)
ErrorResponse errorResponse,
@TypeResolver(value=TestInputResolver.class)
Object errorObject,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.