org.apache.camel.component.gae.mail
Class GMailEndpoint

java.lang.Object
  extended by org.apache.camel.impl.DefaultEndpoint
      extended by org.apache.camel.component.gae.mail.GMailEndpoint
All Implemented Interfaces:
CamelContextAware, OutboundBindingSupport<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void>, Endpoint, IsSingleton

public class GMailEndpoint
extends DefaultEndpoint
implements OutboundBindingSupport<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void>

Represents a Google App Engine Mail endpoint.


Constructor Summary
GMailEndpoint(String endpointUri, Component component, String sender)
           
 
Method Summary
 Consumer createConsumer(Processor processor)
           
 Producer createProducer()
           
 String getBcc()
           
 String getCc()
           
 com.google.appengine.api.mail.MailService getMailService()
           
 OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> getOutboundBinding()
           
 String getSender()
           
 String getSubject()
           
 String getTo()
           
 boolean isSingleton()
           
 void setBcc(String bcc)
           
 void setCc(String cc)
           
 void setOutboundBinding(OutboundBinding<GMailEndpoint,com.google.appengine.api.mail.MailService.Message,Void> outboundBinding)
           
 void setSubject(String subject)
           
 void setTo(String to)
           
 
Methods inherited from class org.apache.camel.impl.DefaultEndpoint
configureProperties, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExchangePattern, getExchangeType, hashCode, isLenientProperties, setCamelContext, setEndpointUri, setEndpointUriIfNotSpecified, setExchangePattern, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GMailEndpoint

public GMailEndpoint(String endpointUri,
                     Component component,
                     String sender)
Method Detail

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 Consumer createConsumer(Processor processor)
                        throws Exception
Specified by:
createConsumer in interface Endpoint
Throws:
Exception

createProducer

public Producer createProducer()
                        throws Exception
Specified by:
createProducer in interface Endpoint
Throws:
Exception

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface IsSingleton


Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.