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, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, resume, shutdown, start, stop, suspend
public GMailProducer(GMailEndpoint endpoint)
public GMailEndpoint getEndpoint()
getEndpoint
in interface org.apache.camel.EndpointAware
getEndpoint
in class org.apache.camel.impl.DefaultProducer
public 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.Exception
GMailBinding
Apache Camel