@MetadataScope(keysResolver=EntityKeyResolver.class, outputResolver=OutputEntityResolver.class) @MediaType(value="*/*", strict=false) @Alias(value="RequestEntityListener") @DisplayName(value="On Entity Request") @EmitsResponse public class EntitySource extends BaseSource<InputStream,ListenerRequestAttributes>
expansionParameters, location, odataConfig, ROUTING_CONTEXT_KEY, routingKey, systemQueryOptionsParameters| Constructor and Description |
|---|
EntitySource() |
| Modifier and Type | Method and Description |
|---|---|
protected org.slf4j.Logger |
getLogger() |
protected RoutingKey<InputStream,ListenerRequestAttributes,SourceConfiguration> |
getRoutingKey() |
void |
onSuccess(SuccessResponse successResponse,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
Base implementation for
OnSuccess, derived classes
SHOULD call this on their |
convert, getRoutingContext, getRoutingManager, initialise, onError, onStart, onStop, onTerminateprotected RoutingKey<InputStream,ListenerRequestAttributes,SourceConfiguration> getRoutingKey()
getRoutingKey in class BaseSource<InputStream,ListenerRequestAttributes>protected org.slf4j.Logger getLogger()
getLogger in class BaseSource<InputStream,ListenerRequestAttributes>@OnSuccess public void onSuccess(@Placement(tab="Responses") @NullSafe(defaultImplementingType=EntitySuccessResponse.class) @Optional SuccessResponse successResponse, org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext, org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
BaseSourceOnSuccess, derived classes
SHOULD call this on their
@OnSuccess<implementations.
onSuccess in class BaseSource<InputStream,ListenerRequestAttributes>successResponse - The response that will be sentcallbackContext - Context to correlate the response to its original messagecompletionCallback - Callback to signal the completion of this async operationCopyright © 2024 MuleSoft, Inc.. All rights reserved.