@Component(value="imap,imaps,pop3,pop3s,smtp,smtps")
public class MailComponent
extends org.apache.camel.support.HeaderFilterStrategyComponent
implements org.apache.camel.SSLContextParametersAware
Constructor and Description |
---|
MailComponent() |
MailComponent(org.apache.camel.CamelContext context) |
MailComponent(MailConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
MailConfiguration |
getConfiguration() |
ContentTypeResolver |
getContentTypeResolver() |
boolean |
isUseGlobalSslContextParameters() |
void |
setConfiguration(MailConfiguration configuration)
Sets the Mail configuration
|
void |
setContentTypeResolver(ContentTypeResolver contentTypeResolver)
Resolver to determine Content-Type for file attachments.
|
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
getHeaderFilterStrategy, setEndpointHeaderFilterStrategy, setHeaderFilterStrategy
afterConfiguration, createEndpoint, createEndpoint, doBuild, doInit, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getComponentPropertyConfigurer, getEndpointPropertyConfigurer, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, resolveRawParameterValues, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setLazyStartProducer, setProperties, setProperties, setProperties, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
build, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
retrieveGlobalSslContextParameters
getCamelContext, setCamelContext, trySetCamelContext
public MailComponent()
public MailComponent(MailConfiguration configuration)
public MailComponent(org.apache.camel.CamelContext context)
protected org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters) throws Exception
createEndpoint
in class org.apache.camel.support.DefaultComponent
Exception
public MailConfiguration getConfiguration()
public void setConfiguration(MailConfiguration configuration)
configuration
- the configuration to use by default for endpointspublic ContentTypeResolver getContentTypeResolver()
public void setContentTypeResolver(ContentTypeResolver contentTypeResolver)
public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
Apache Camel