|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<MailExchange>
org.apache.camel.component.mail.MailComponent
public class MailComponent
Component for JavaMail.
Constructor Summary | |
---|---|
MailComponent()
|
|
MailComponent(CamelContext context)
|
|
MailComponent(MailConfiguration configuration)
|
Method Summary | |
---|---|
protected String |
convertPathToActualDestination(String path)
A strategy method allowing the URI destination to be translated into the actual Mail destination name (say by looking up in JNDI or something) |
protected Endpoint<MailExchange> |
createEndpoint(String uri,
String remaining,
Map parameters)
|
MailConfiguration |
getConfiguration()
|
ContentTypeResolver |
getContentTypeResolver()
|
HeaderFilterStrategy |
getHeaderFilterStrategy()
|
static MailComponent |
mailComponent()
Deprecated. will be removed in Camel 2.0 |
static MailComponent |
mailComponent(MailConfiguration configuration)
Deprecated. will be removed in Camel 2.0 |
void |
setConfiguration(MailConfiguration configuration)
Sets the Mail configuration |
void |
setContentTypeResolver(ContentTypeResolver contentTypeResolver)
|
void |
setHeaderFilterStrategy(HeaderFilterStrategy strategy)
|
Methods inherited from class org.apache.camel.impl.DefaultComponent |
---|
convertTo, createEndpoint, createExecutorService, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExecutorService, lookup, lookup, mandatoryConvertTo, mandatoryLookup, mandatoryLookup, newInstance, setCamelContext, setExecutorService, setProperties, useIntrospectionOnEndpoint, validateURI |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
---|
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MailComponent()
public MailComponent(MailConfiguration configuration)
public MailComponent(CamelContext context)
Method Detail |
---|
public static MailComponent mailComponent()
public static MailComponent mailComponent(MailConfiguration configuration)
protected Endpoint<MailExchange> createEndpoint(String uri, String remaining, Map parameters) throws Exception
createEndpoint
in class DefaultComponent<MailExchange>
Exception
public MailConfiguration getConfiguration()
public void setConfiguration(MailConfiguration configuration)
configuration
- the configuration to use by default for endpointsprotected String convertPathToActualDestination(String path)
public HeaderFilterStrategy getHeaderFilterStrategy()
getHeaderFilterStrategy
in interface HeaderFilterStrategyAware
public void setHeaderFilterStrategy(HeaderFilterStrategy strategy)
setHeaderFilterStrategy
in interface HeaderFilterStrategyAware
public ContentTypeResolver getContentTypeResolver()
public void setContentTypeResolver(ContentTypeResolver contentTypeResolver)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |