org.apache.camel.component.mail
Class MailComponent
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultComponent<MailExchange>
org.apache.camel.component.mail.MailComponent
- All Implemented Interfaces:
- org.apache.camel.Component<MailExchange>, org.apache.camel.Service
public class MailComponent
- extends org.apache.camel.impl.DefaultComponent<MailExchange>
- Version:
- $Revision:520964 $
Methods inherited from class org.apache.camel.impl.DefaultComponent |
createEndpoint, createExecutorService, doStart, doStop, getCamelContext, getExecutorService, setCamelContext, setExecutorService |
Methods inherited from class org.apache.camel.impl.ServiceSupport |
isStarted, isStopped, isStopping, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUEUE_PREFIX
public static final String QUEUE_PREFIX
- See Also:
- Constant Field Values
TOPIC_PREFIX
public static final String TOPIC_PREFIX
- See Also:
- Constant Field Values
MailComponent
public MailComponent()
MailComponent
public MailComponent(MailConfiguration configuration)
MailComponent
public MailComponent(org.apache.camel.CamelContext context)
mailComponent
public static MailComponent mailComponent()
- Static builder method
mailComponent
public static MailComponent mailComponent(MailConfiguration configuration)
- Static builder method
createEndpoint
protected org.apache.camel.Endpoint<MailExchange> createEndpoint(String uri,
String remaining,
Map parameters)
throws Exception
- Specified by:
createEndpoint
in class org.apache.camel.impl.DefaultComponent<MailExchange>
- Throws:
Exception
getConfiguration
public MailConfiguration getConfiguration()
setConfiguration
public void setConfiguration(MailConfiguration configuration)
- Sets the Mail configuration
- Parameters:
configuration
- the configuration to use by default for endpoints
convertPathToActualDestination
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)
Copyright © 2007 Apache Software Foundation. All Rights Reserved.