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
org.mule.runtime.api.component.Component.AnnotationsReactiveProcessor.ProcessingTypecomponentExecutor, executionMediator, extensionModel, nestedChain, nestedChainClassLoader, policyManager, PROCESSOR_PATH_MDC_KEY, resolverSet, retryPolicyTemplate, returnDelegate, target, targetValuecacheIdGenerator, classLoader, componentLocator, componentModel, connectionManager, cursorProviderFactory, errorTypeRepository, expressionManager, extensionManager, metadataService, muleContext, streamingManager, transactionFactoryLocatorANNOTATION_NAME, LOCATION_KEY, ROOT_CONTAINER_NAME_KEY| 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,
List<EnrichedErrorMapping> errorMappings,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
RetryPolicyTemplate retryPolicyTemplate,
MessageProcessorChain nestedChain,
ClassLoader classLoader,
ExtensionManager extensionManager,
PolicyManager policyManager,
ReflectionCache reflectionCache,
DefaultExecutionMediator.ResultTransformer resultTransformer,
long outerFluxTerminationTimeout) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeOperation(ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext,
org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback) |
getEntityKeys, getEntityMetadata, getErrorMappings, getInnerProcessingType, isBlocking, mayCompleteInDifferentThread, validateOperationConfigurationapply, createExecutionMediator, createInterceptorChain, createReturnDelegate, disposeResolvedParameters, doDispose, doInitialise, doStart, doStop, getOperationExecutionParams, getParameterValueResolver, getProcessingType, getRetryPolicyTemplateResolver, getTargetReturnDelegate, getValueReturnDelegate, isAsyncExecutableBasedOn, isTargetPresent, process, resolveParameters, startIfNeededNestedChain, toStringdispose, getConfiguration, getConfigurationProvider, getCursorProviderFactory, getExtensionModel, getInputMetadata, getMetadata, getMetadata, getMetadataKeys, getMetadataKeys, getModels, getOutputMetadata, getSampleData, getStaticConfiguration, getValues, getValues, initialise, requiresConfig, runWithMetadataContext, setCacheIdGeneratorFactory, setComponentLocator, setMuleContext, start, stop, usesDynamicConfigurationgetAnnotation, getAnnotations, getDslSource, getIdentifier, getLocation, getRepresentation, getRootContainerLocation, initRootContainerName, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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,
List<EnrichedErrorMapping> errorMappings,
ResolverSet resolverSet,
CursorProviderFactory cursorProviderFactory,
RetryPolicyTemplate retryPolicyTemplate,
MessageProcessorChain nestedChain,
ClassLoader classLoader,
ExtensionManager extensionManager,
PolicyManager policyManager,
ReflectionCache reflectionCache,
DefaultExecutionMediator.ResultTransformer resultTransformer,
long outerFluxTerminationTimeout)
protected void executeOperation(ExecutionContextAdapter<org.mule.runtime.api.meta.model.operation.OperationModel> operationContext, org.mule.runtime.extension.api.runtime.operation.CompletableComponentExecutor.ExecutorCallback callback)
executeOperation in class ComponentMessageProcessor<org.mule.runtime.api.meta.model.operation.OperationModel>Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.