org.ow2.petals.bc.mail.service.provide
Class NativeSendService

java.lang.Object
  extended by org.ow2.petals.bc.mail.service.provide.AbstractSendService
      extended by org.ow2.petals.bc.mail.service.provide.NativeSendService

public class NativeSendService
extends AbstractSendService

Author:
alouis, ”Mathieu CARROLLE - mathieu.carrolle@petalslink.com”

Field Summary
 
Fields inherited from class org.ow2.petals.bc.mail.service.provide.AbstractSendService
logger, mailSessionManager, mimeMessageManager
 
Constructor Summary
NativeSendService(MailSessionManager mailSessionManager, MimeMessageManager mimeMessageManager, java.util.logging.Logger logger)
           
 
Method Summary
 void sendMail(org.ow2.petals.component.framework.api.message.Exchange exchange)
          Sends mail by using component service
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NativeSendService

public NativeSendService(MailSessionManager mailSessionManager,
                         MimeMessageManager mimeMessageManager,
                         java.util.logging.Logger logger)
Method Detail

sendMail

public void sendMail(org.ow2.petals.component.framework.api.message.Exchange exchange)
              throws javax.jbi.messaging.MessagingException,
                     MissingElementException
Sends mail by using component service

Specified by:
sendMail in class AbstractSendService
Parameters:
exchange -
Throws:
javax.jbi.JBIException
javax.jbi.messaging.MessagingException
java.io.IOException
MissingElementException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.