org.apache.camel.component.gae.mail
Class GMailProducer
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.impl.DefaultProducer
org.apache.camel.component.gae.mail.GMailProducer
- All Implemented Interfaces:
- IsSingleton, Processor, Producer, Service, ShutdownableService
public class GMailProducer
- extends DefaultProducer
| Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, doShutdown, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, shutdown, start, stop |
GMailProducer
public GMailProducer(GMailEndpoint endpoint)
getEndpoint
public GMailEndpoint getEndpoint()
- Specified by:
getEndpoint in interface Producer- Overrides:
getEndpoint in class DefaultProducer
getOutboundBinding
public OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> getOutboundBinding()
getMailService
public com.google.appengine.api.mail.MailService getMailService()
process
public void process(Exchange exchange)
throws Exception
- Invokes the mail service.
- Parameters:
exchange - contains the mail data in the in-message.
- Throws:
Exception- See Also:
GMailBinding
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.