org.mule.transport.email
Class SmtpsConnector
java.lang.Object
org.mule.transport.AbstractConnector
org.mule.transport.email.AbstractMailConnector
org.mule.transport.email.SmtpConnector
org.mule.transport.email.SmtpsConnector
- All Implemented Interfaces:
- ExceptionListener, EventListener, javax.resource.spi.work.WorkListener, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, NamedObject, TlsIndirectKeyStore, TlsIndirectTrustStore, Connectable, Connector
public class SmtpsConnector
- extends SmtpConnector
- implements TlsIndirectTrustStore, TlsIndirectKeyStore
Creates a secure SMTP connection
| Fields inherited from class org.mule.transport.AbstractConnector |
connected, connecting, connectionStrategy, createMultipleTransactedReceivers, DEFAULT_NUM_CONCURRENT_TX_RECEIVERS, dispatcherFactory, dispatchers, disposed, disposing, exceptionListener, initialised, logger, muleContext, name, numberOfConcurrentTransactedReceivers, receivers, requesterFactory, requesters, serviceDescriptor, serviceOverrides, sessionHandler, started, startOnConnect |
| Methods inherited from class org.mule.transport.email.SmtpConnector |
createReceiver, getBccAddresses, getCcAddresses, getContentType, getCustomHeaders, getDefaultPort, getFromAddress, getReplyToAddresses, getSubject, setBccAddresses, setCcAddresses, setContentType, setCustomHeaders, setFromAddress, setReplyToAddresses, setSubject |
| Methods inherited from class org.mule.transport.email.AbstractMailConnector |
doConnect, doDisconnect, doDispose, doStart, doStop, dumpProperties, getAuthenticator, getMailboxFolder, getSessionDetails, newSession, setAuthenticator, setMailboxFolder, urlFromEndpoint |
| Methods inherited from class org.mule.transport.AbstractConnector |
checkDisposed, connect, destroyReceiver, disconnect, dispatch, dispose, disposeDispatchers, disposeReceivers, disposeRequesters, disposeWorkManagers, exceptionThrown, fireNotification, getConnectEventId, getConnectionDescription, getConnectionStrategy, getDefaultInboundTransformers, getDefaultOutboundTransformers, getDefaultResponseTransformers, getDispatcherFactory, getDispatcherThreadingProfile, getDispatcherWorkManager, getExceptionListener, getMaxDispatchersActive, getMaxRequestersActive, getMessageAdapter, getMuleContext, getName, getNumberOfConcurrentTransactedReceivers, getOutputStream, getReceiver, getReceiverKey, getReceivers, getReceivers, getReceiverThreadingProfile, getReceiverWorkManager, getReplyToHandler, getRequesterFactory, getRequesterThreadingProfile, getRequesterWorkManager, getScheduler, getServiceDescriptor, getServiceOverrides, getSessionHandler, getSupportedProtocols, handleException, handleWorkException, initFromServiceDescriptor, initialise, initialiseFromUrl, initWorkManagers, isConnected, isCreateMultipleTransactedReceivers, isDisposed, isDisposing, isEnableMessageEvents, isRemoteSyncEnabled, isStarted, isSyncEnabled, lookupReceiver, registerListener, registerSupportedProtocol, registerSupportedProtocolWithoutPrefix, request, request, send, setConnectionStrategy, setCreateMultipleTransactedReceivers, setDispatcherFactory, setDispatcherThreadingProfile, setDynamicNotification, setExceptionListener, setMaxDispatchersActive, setMaxRequestersActive, setMuleContext, setName, setNumberOfConcurrentTransactedReceivers, setReceiverThreadingProfile, setRequesterFactory, setRequesterThreadingProfile, setServiceOverrides, setSessionHandler, setSupportedProtocols, setupDispatchReturn, setupRequestReturn, start, stop, supportsProtocol, toString, unregisterListener, unregisterSupportedProtocol, updateCachedNotificationHandler, workAccepted, workCompleted, workRejected, workStarted |
SMTPS
public static final String SMTPS
- See Also:
- Constant Field Values
DEFAULT_SOCKET_FACTORY
public static final String DEFAULT_SOCKET_FACTORY
DEFAULT_SMTPS_PORT
public static final int DEFAULT_SMTPS_PORT
- See Also:
- Constant Field Values
SmtpsConnector
public SmtpsConnector()
getProtocol
public String getProtocol()
- Specified by:
getProtocol in interface Connector- Overrides:
getProtocol in class SmtpConnector
getBaseProtocol
public String getBaseProtocol()
- Description copied from class:
AbstractMailConnector
- Some protocols (eg secure extensions) extend a "base" protocol.
Subclasses for such protocols should override this method.
- Overrides:
getBaseProtocol in class AbstractMailConnector
- Returns:
- the underlying (eg non-secure) protocol
doInitialise
protected void doInitialise()
throws InitialisationException
- Overrides:
doInitialise in class AbstractMailConnector
- Throws:
InitialisationException
extendPropertiesForSession
protected void extendPropertiesForSession(Properties global,
Properties local,
URLName url)
- Description copied from class:
AbstractMailConnector
- Subclasses should extend this to add further properties.
Synchronization is managed outside this call (so no need to synchronize further on properties)
- Overrides:
extendPropertiesForSession in class AbstractMailConnector
- Parameters:
global - system propertieslocal - local properties (specific to one session)url - the endpoint url
getSocketFactory
public String getSocketFactory()
setSocketFactory
public void setSocketFactory(String sslSocketFactory)
getSocketFactoryFallback
public String getSocketFactoryFallback()
setSocketFactoryFallback
public void setSocketFactoryFallback(String socketFactoryFallback)
getTrustStore
public String getTrustStore()
- Specified by:
getTrustStore in interface TlsIndirectTrustStore
getTrustStorePassword
public String getTrustStorePassword()
- Specified by:
getTrustStorePassword in interface TlsIndirectTrustStore
setTrustStore
public void setTrustStore(String trustStore)
throws IOException
- Specified by:
setTrustStore in interface TlsIndirectTrustStore
- Throws:
IOException
setTrustStorePassword
public void setTrustStorePassword(String trustStorePassword)
- Specified by:
setTrustStorePassword in interface TlsIndirectTrustStore
getClientKeyStore
public String getClientKeyStore()
- Specified by:
getClientKeyStore in interface TlsIndirectKeyStore
getClientKeyStorePassword
public String getClientKeyStorePassword()
- Specified by:
getClientKeyStorePassword in interface TlsIndirectKeyStore
getClientKeyStoreType
public String getClientKeyStoreType()
- Specified by:
getClientKeyStoreType in interface TlsIndirectKeyStore
setClientKeyStore
public void setClientKeyStore(String name)
throws IOException
- Specified by:
setClientKeyStore in interface TlsIndirectKeyStore
- Throws:
IOException
setClientKeyStorePassword
public void setClientKeyStorePassword(String clientKeyStorePassword)
- Specified by:
setClientKeyStorePassword in interface TlsIndirectKeyStore
setClientKeyStoreType
public void setClientKeyStoreType(String clientKeyStoreType)
- Specified by:
setClientKeyStoreType in interface TlsIndirectKeyStore
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.