public class GMailProducer
extends org.apache.camel.impl.DefaultProducer
| Constructor and Description |
|---|
GMailProducer(GMailEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
GMailEndpoint |
getEndpoint() |
com.google.appengine.api.mail.MailService |
getMailService() |
OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> |
getOutboundBinding() |
void |
process(org.apache.camel.Exchange exchange)
Invokes the mail service.
|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toStringdoResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspendpublic GMailProducer(GMailEndpoint endpoint)
public GMailEndpoint getEndpoint()
getEndpoint in interface org.apache.camel.ProducergetEndpoint in class org.apache.camel.impl.DefaultProducerpublic OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> getOutboundBinding()
public com.google.appengine.api.mail.MailService getMailService()
public void process(org.apache.camel.Exchange exchange)
throws Exception
exchange - contains the mail data in the in-message.ExceptionGMailBindingApache Camel