public abstract class AbstractPriorizableConnectorMessageProcessorProvider extends AbstractConnectorMessageProcessorProvider
ConnectorOperationProviders will be evaluated for use.| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_PRIORITY |
CACHE_SIZE, EXPIRATION_TIME_IN_MINUTES, muleContext| Constructor and Description |
|---|
AbstractPriorizableConnectorMessageProcessorProvider() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
priority()
Defines the priority in which different implementations of this interface will be evaluated to use by calling
ConnectorOperationProvider.supportsUrl(String). |
buildMessageProcessor, dispose, getMessageProcessor, setMuleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsUrlpublic AbstractPriorizableConnectorMessageProcessorProvider()
public abstract int priority()
ConnectorOperationProvider.supportsUrl(String).
This is useful when there are many possible providers for a same protocol, in order to have certainty as to which one of the possible providers will be used.
instances with higher priority will be evaluated before the ones with lower priority.
ConnectorOperationProvider.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.