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, targetValueclassLoader, componentModel, connectionManager, cursorProviderFactory, extensionManager, 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,
ExtensionsOAuthManager oauthManager) |
| 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, getValues, initialise, runWithMetadataContext, setMuleContext, start, stopgetAnnotation, getAnnotations, getLocation, getRootContainerLocation, 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,
ExtensionsOAuthManager oauthManager)
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–2017 MuleSoft, Inc.. All rights reserved.