org.apache.camel.component.mail
Class MailComponent

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultComponent
          extended by org.apache.camel.component.mail.MailComponent
All Implemented Interfaces:
org.apache.camel.CamelContextAware, org.apache.camel.Component, org.apache.camel.Service, org.apache.camel.ShutdownableService

public class MailComponent
extends org.apache.camel.impl.DefaultComponent

Component for JavaMail.

Version:

Constructor Summary
MailComponent()
           
MailComponent(org.apache.camel.CamelContext context)
           
MailComponent(MailConfiguration configuration)
           
 
Method Summary
protected  org.apache.camel.Endpoint createEndpoint(String uri, String remaining, Map<String,Object> parameters)
           
 MailConfiguration getConfiguration()
           
 ContentTypeResolver getContentTypeResolver()
           
 void setConfiguration(MailConfiguration configuration)
          Sets the Mail configuration
 void setContentTypeResolver(ContentTypeResolver contentTypeResolver)
           
 
Methods inherited from class org.apache.camel.impl.DefaultComponent
afterConfiguration, createEndpoint, doStart, doStop, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, ifStartsWithReturnRemainder, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, useIntrospectionOnEndpoint, validateParameters, validateURI
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, removeChildService, resume, shutdown, start, start, stop, suspend
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailComponent

public MailComponent()

MailComponent

public MailComponent(MailConfiguration configuration)

MailComponent

public MailComponent(org.apache.camel.CamelContext context)
Method Detail

createEndpoint

protected org.apache.camel.Endpoint createEndpoint(String uri,
                                                   String remaining,
                                                   Map<String,Object> parameters)
                                            throws Exception
Specified by:
createEndpoint in class org.apache.camel.impl.DefaultComponent
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

getContentTypeResolver

public ContentTypeResolver getContentTypeResolver()

setContentTypeResolver

public void setContentTypeResolver(ContentTypeResolver contentTypeResolver)


Apache CAMEL