public class OAuthOperationMessageProcessor extends OperationMessageProcessor
OperationMessageProcessor for operations which might be running
with an OAuth enabled ConnectionProvider.
If handles AccessTokenExpiredExceptions and executes the refresh token flow
and retries accordingly.
If the operation was not configured with an OAuth enabled connection provider, then it behaves the same as its parent class
ReactiveProcessor.ProcessingTypeParametersResolverProcessor.ParametersResolverProcessorResultreturnDelegateclassLoader, connectionManager, extensionManager, flowConstruct, muleContext, streamingManager| Constructor and Description |
|---|
OAuthOperationMessageProcessor(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.operation.OperationModel operationModel,
org.mule.runtime.extension.api.runtime.ConfigurationProvider configurationProvider,
String target,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
ExtensionManager extensionManager,
PolicyManager policyManager,
ExtensionsOAuthManager oauthManager) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<Event> |
doProcess(Event event,
ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext) |
apply, createExecutionMediator, disposeResolvedParameters, doDispose, doInitialise, doStart, doStop, getEntityKeys, getEntityMetadata, getParameterValueResolver, getProcessingType, getTarget, process, resolveParameters, validateOperationConfigurationdispose, getConfiguration, getCursorProviderFactory, getExtensionModel, getMetadata, getMetadata, getMetadataKeys, initialise, runWithMetadataContext, setFlowConstruct, setMuleContext, start, stopgetAnnotation, getAnnotations, getLocation, setAnnotationspublic OAuthOperationMessageProcessor(org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.meta.model.operation.OperationModel operationModel,
org.mule.runtime.extension.api.runtime.ConfigurationProvider configurationProvider,
String target,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
ExtensionManager extensionManager,
PolicyManager policyManager,
ExtensionsOAuthManager oauthManager)
protected reactor.core.publisher.Mono<Event> doProcess(Event event, ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext)
doProcess in class OperationMessageProcessorCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.