org.apache.camel.component.gae.mail
Class GMailEndpoint
java.lang.Object
org.apache.camel.support.ServiceSupport
org.apache.camel.impl.DefaultEndpoint
org.apache.camel.component.gae.mail.GMailEndpoint
- All Implemented Interfaces:
- org.apache.camel.CamelContextAware, OutboundBindingSupport<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void>, org.apache.camel.Endpoint, org.apache.camel.IsSingleton, org.apache.camel.Service, org.apache.camel.ShutdownableService, org.apache.camel.spi.HasId, org.apache.camel.StatefulService, org.apache.camel.SuspendableService
public class GMailEndpoint
- extends org.apache.camel.impl.DefaultEndpoint
- implements OutboundBindingSupport<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void>
Represents a Google App Engine Mail endpoint.
Fields inherited from class org.apache.camel.support.ServiceSupport |
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending |
Methods inherited from class org.apache.camel.impl.DefaultEndpoint |
configureConsumer, configureProperties, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, doStart, doStop, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExchangePattern, getId, hashCode, isLenientProperties, isSynchronous, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, setSynchronous, toString |
Methods inherited from class org.apache.camel.support.ServiceSupport |
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isSuspended, isSuspending, resume, shutdown, start, stop, suspend |
Methods inherited from interface org.apache.camel.Service |
start, stop |
GMailEndpoint
public GMailEndpoint(String endpointUri,
org.apache.camel.Component component,
String sender)
getOutboundBinding
public OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> getOutboundBinding()
- Specified by:
getOutboundBinding
in interface OutboundBindingSupport<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void>
setOutboundBinding
public void setOutboundBinding(OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> outboundBinding)
- Specified by:
setOutboundBinding
in interface OutboundBindingSupport<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void>
getMailService
public com.google.appengine.api.mail.MailService getMailService()
getSender
public String getSender()
getSubject
public String getSubject()
setSubject
public void setSubject(String subject)
getTo
public String getTo()
setTo
public void setTo(String to)
getCc
public String getCc()
setCc
public void setCc(String cc)
getBcc
public String getBcc()
setBcc
public void setBcc(String bcc)
createConsumer
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor)
throws Exception
- Specified by:
createConsumer
in interface org.apache.camel.Endpoint
- Throws:
Exception
createProducer
public org.apache.camel.Producer createProducer()
throws Exception
- Specified by:
createProducer
in interface org.apache.camel.Endpoint
- Throws:
Exception
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.apache.camel.IsSingleton
Apache CAMEL