@Alias(value="custom-static-metadata") @EmitsResponse @MetadataScope(outputResolver=JavaOutputStaticTypeResolver.class) @MediaType(value="application/java", strict=false) public class CustomStaticMetadataSource extends org.mule.runtime.extension.api.runtime.source.Source<Object,org.mule.tck.message.StringAttributes>
| Modifier and Type | Field and Description |
|---|---|
static String |
onErrorResult |
static String |
onSuccessResult |
| Constructor and Description |
|---|
CustomStaticMetadataSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(InputStream person,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext cc) |
void |
onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback sourceCallback) |
void |
onStop() |
void |
onSuccess(InputStream order,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext cc) |
public static String onSuccessResult
public static String onErrorResult
public void onStart(org.mule.runtime.extension.api.runtime.source.SourceCallback sourceCallback)
throws org.mule.runtime.api.exception.MuleException
onStart in class org.mule.runtime.extension.api.runtime.source.Source<Object,org.mule.tck.message.StringAttributes>org.mule.runtime.api.exception.MuleException@OnError public void onError(InputStream person, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext cc)
@OnSuccess public void onSuccess(InputStream order, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext cc)
public void onStop()
onStop in class org.mule.runtime.extension.api.runtime.source.Source<Object,org.mule.tck.message.StringAttributes>Copyright © 2025 MuleSoft, Inc.. All rights reserved.