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.ProcessingTypecomponentExecutor, executionMediator, extensionModel, policyManager, resolverSet, retryPolicyTemplate, returnDelegate, target, targetValuecacheIdGenerator, classLoader, componentModel, connectionManager, cursorProviderFactory, expressionManager, extensionManager, metadataService, muleContext, streamingManager, transactionFactoryLocator| 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.config.ConfigurationProvider configurationProvider,
String target,
String targetValue,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
RetryPolicyTemplate retryPolicyTemplate,
ExtensionManager extensionManager,
PolicyManager policyManager,
ReflectionCache reflectionCache) |
| Modifier and Type | Method and Description |
|---|---|
protected reactor.core.publisher.Mono<CoreEvent> |
doProcess(CoreEvent event,
ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext) |
getEntityKeys, getEntityMetadata, getProcessingType, validateOperationConfigurationapply, createExecutionMediator, createReturnDelegate, disposeResolvedParameters, doDispose, doInitialise, doStart, doStop, getParameterValueResolver, getTarget, getTargetReturnDelegate, getValueReturnDelegate, isTargetPresent, process, resolveParametersdispose, getConfiguration, getCursorProviderFactory, getExtensionModel, getMetadata, getMetadata, getMetadataKeys, getModels, getStaticConfiguration, getValues, initialise, runWithMetadataContext, setCacheIdGeneratorFactory, setMuleContext, start, stopgetAnnotation, getAnnotations, getLocation, getRootContainerLocation, initRootContainerName, 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.config.ConfigurationProvider configurationProvider,
String target,
String targetValue,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
RetryPolicyTemplate retryPolicyTemplate,
ExtensionManager extensionManager,
PolicyManager policyManager,
ReflectionCache reflectionCache)
protected reactor.core.publisher.Mono<CoreEvent> doProcess(CoreEvent event, ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext)
doProcess in class ComponentMessageProcessor<org.mule.runtime.api.meta.model.operation.OperationModel>Copyright © 2003–2019 MuleSoft, Inc.. All rights reserved.