org.apache.camel.component.mail
Class MailProducer

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.impl.DefaultProducer
          extended by org.apache.camel.component.mail.MailProducer
All Implemented Interfaces:
IsSingleton, Processor, Producer, Service

public class MailProducer
extends DefaultProducer

A Producer to send messages using JavaMail.

Version:
$Revision: 1608 $

Field Summary
 
Fields inherited from class org.apache.camel.impl.DefaultProducer
log
 
Constructor Summary
MailProducer(MailEndpoint endpoint, JavaMailSender sender)
           
 
Method Summary
 void process(Exchange exchange)
          Processes the message exchange
 
Methods inherited from class org.apache.camel.impl.DefaultProducer
createExchange, createExchange, createExchange, doStart, doStop, getEndpoint, isSingleton, toString
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.camel.Service
start, stop
 

Constructor Detail

MailProducer

public MailProducer(MailEndpoint endpoint,
                    JavaMailSender sender)
Method Detail

process

public void process(Exchange exchange)
Description copied from interface: Processor
Processes the message exchange

Parameters:
exchange - the message exchange


Copyright © 2007-2010 IONA Open Source Community. All Rights Reserved.