T - type of input content.A - type of input attributes.M - type of routing manager.public abstract class BaseSource<T,A,M extends RoutingManager>
extends org.mule.runtime.extension.api.runtime.source.Source<T,A>
| Modifier and Type | Field and Description |
|---|---|
protected ODataConfig |
odataConfig |
protected String |
ROUTING_CONTEXT_KEY |
protected RoutingKey |
routingKey |
protected M |
routingManager |
| Constructor and Description |
|---|
BaseSource() |
| Modifier and Type | Method and Description |
|---|---|
protected DefaultRoutingContext |
getRoutingContext(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext) |
void |
onError(org.mule.runtime.api.message.Error error,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback) |
void |
onStop() |
void |
onTerminate(org.mule.runtime.extension.api.runtime.source.SourceResult sourceResult) |
protected final String ROUTING_CONTEXT_KEY
@Config protected ODataConfig odataConfig
@MetadataKeyId @ParameterGroup(name="routingKey") protected RoutingKey routingKey
@Inject protected M extends RoutingManager routingManager
@OnError
public void onError(org.mule.runtime.api.message.Error error,
org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext,
org.mule.runtime.extension.api.runtime.source.SourceCompletionCallback completionCallback)
public void onStop()
@OnTerminate public void onTerminate(org.mule.runtime.extension.api.runtime.source.SourceResult sourceResult)
protected DefaultRoutingContext getRoutingContext(org.mule.runtime.extension.api.runtime.source.SourceCallbackContext callbackContext)
Copyright © 2021 MuleSoft, Inc.. All rights reserved.