public abstract class AbstractTlsRetrieveMailConnector extends AbstractRetrieveMailConnector implements TlsIndirectTrustStore, TlsIndirectKeyStore
DEFAULT_CHECK_FREQUENCY
ATTACHMENT_HEADERS_PROPERTY_POSTFIX, MAILBOX
createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatcherPoolFactory, dispatchers, initialStateStopped, lifecycleManager, logger, muleContext, muleMessageFactory, name, numberOfConcurrentTransactedReceivers, PROPERTY_POLLING_FREQUENCY, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, startOnConnect
INT_VALUE_NOT_SET
PHASE_NAME
Modifier | Constructor and Description |
---|---|
protected |
AbstractTlsRetrieveMailConnector(int defaultPort,
String namespace,
Class defaultSocketFactory,
MuleContext context) |
Modifier and Type | Method and Description |
---|---|
protected void |
doInitialise() |
protected void |
extendPropertiesForSession(Properties global,
Properties local,
URLName url)
Subclasses should extend this to add further properties.
|
String |
getClientKeyStore() |
String |
getClientKeyStorePassword() |
String |
getClientKeyStoreType() |
String |
getSocketFactory() |
String |
getSocketFactoryFallback() |
String |
getTrustStore() |
String |
getTrustStorePassword() |
void |
setClientKeyStore(String name) |
void |
setClientKeyStorePassword(String clientKeyStorePassword) |
void |
setClientKeyStoreType(String clientKeyStoreType) |
void |
setSocketFactory(String sslSocketFactory) |
void |
setSocketFactoryFallback(String socketFactoryFallback) |
void |
setTrustStore(String trustStore) |
void |
setTrustStorePassword(String trustStorePassword) |
createReceiver, getBackupFolder, getCheckFrequency, getDefaultProcessMessageAction, getMoveToFolder, isBackupEnabled, isDeleteReadMessages, setBackupEnabled, setBackupFolder, setCheckFrequency, setDefaultProcessMessageAction, setDeleteReadMessages, setMoveToFolder
doConnect, doDisconnect, doDispose, doStart, doStop, dumpProperties, getAuthenticator, getBaseProtocol, getDefaultPort, getMailboxFolder, getSessionDetails, newSession, setAuthenticator, setMailboxFolder, urlFromEndpoint
borrowDispatcher, clearDispatchers, clearRequesters, configureDispatcherPool, connect, createDefaultRedeliveryPolicy, createDispatcherMessageProcessor, createMuleMessageFactory, createOperationResource, createScheduler, destroyReceiver, disconnect, dispose, disposeReceivers, disposeWorkManagers, doUnregisterListener, fireNotification, getCanonicalURI, getConnectEventId, getConnectionDescription, getDefaultExchangePattern, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherPoolFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getInboundExchangePatterns, getLifecycleState, getMaxDispatchersActive, getMaxRequestersActive, getMaxTotalDispatchers, getMuleContext, getMuleMessageFactory, getName, getNumberOfConcurrentTransactedReceivers, getOperationResourceFactory, getOutboundExchangePatterns, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getRetryPolicyTemplate, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, getTransactionalResource, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isConnecting, isCreateMultipleTransactedReceivers, isDisposed, isEnableMessageEvents, isInitialised, isInitialStateStopped, isResponseEnabled, isStarted, isStarting, isStopped, isStopping, isValidateConnections, lookupReceiver, registerListener, registerSupportedMetaProtocol, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, returnDispatcher, setConnected, setConnecting, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherPoolFactory, setDispatcherPoolMaxWait, setDispatcherPoolWhenExhaustedAction, setDispatcherThreadingProfile, setDynamicNotification, setInitialStateStopped, setMaxDispatchersActive, setMaxRequestersActive, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterPoolMaxWait, setRequesterPoolWhenExhaustedAction, setRequesterThreadingProfile, setRetryPolicyTemplate, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, setValidateConnections, shutdownScheduler, start, startAfterConnect, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, validateConnection, workAccepted, workCompleted, workRejected, workStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getProtocol
protected AbstractTlsRetrieveMailConnector(int defaultPort, String namespace, Class defaultSocketFactory, MuleContext context)
protected void doInitialise() throws InitialisationException
doInitialise
in class AbstractMailConnector
InitialisationException
protected void extendPropertiesForSession(Properties global, Properties local, URLName url)
AbstractMailConnector
extendPropertiesForSession
in class AbstractMailConnector
global
- system propertieslocal
- local properties (specific to one session)url
- the endpoint urlpublic String getSocketFactory()
public void setSocketFactory(String sslSocketFactory)
public String getSocketFactoryFallback()
public void setSocketFactoryFallback(String socketFactoryFallback)
public String getTrustStore()
getTrustStore
in interface TlsIndirectTrustStore
public String getTrustStorePassword()
getTrustStorePassword
in interface TlsIndirectTrustStore
TlsIndirectTrustStore.getTrustStore()
public void setTrustStore(String trustStore) throws IOException
setTrustStore
in interface TlsIndirectTrustStore
trustStore
- The location of the keystore that contains public certificates of trusted servers.IOException
- If the location cannot be resolved via the file system or classpathpublic void setTrustStorePassword(String trustStorePassword)
setTrustStorePassword
in interface TlsIndirectTrustStore
trustStorePassword
- The password used to protected the trust store defined in
TlsIndirectTrustStore.setTrustStore(String)
public String getClientKeyStore()
getClientKeyStore
in interface TlsIndirectKeyStore
public String getClientKeyStorePassword()
getClientKeyStorePassword
in interface TlsIndirectKeyStore
public String getClientKeyStoreType()
getClientKeyStoreType
in interface TlsIndirectKeyStore
TlsIndirectKeyStore.setClientKeyStore(String)
public void setClientKeyStore(String name) throws IOException
setClientKeyStore
in interface TlsIndirectKeyStore
name
- The location of the keystore that contains public certificates and private keys
for identification.IOException
- If the location cannot be resolved via the file system or classpathpublic void setClientKeyStorePassword(String clientKeyStorePassword)
setClientKeyStorePassword
in interface TlsIndirectKeyStore
clientKeyStorePassword
- The password used to protect the keystore itselfpublic void setClientKeyStoreType(String clientKeyStoreType)
setClientKeyStoreType
in interface TlsIndirectKeyStore
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.