org.mule.transport.email
Class SmtpMessageDispatcherFactory
java.lang.Object
org.mule.transport.AbstractMessageDispatcherFactory
org.mule.transport.email.SmtpMessageDispatcherFactory
- All Implemented Interfaces:
- MessageDispatcherFactory
public class SmtpMessageDispatcherFactory
- extends AbstractMessageDispatcherFactory
SmtpMessageDispatcherFactory
creates an instance of an SmtpMessage
dispatcher used for sending email events via an SMTP gateway
SmtpMessageDispatcherFactory
public SmtpMessageDispatcherFactory()
create
public MessageDispatcher create(OutboundEndpoint endpoint)
throws MuleException
- Creates a new message dispatcher instance, initialised with the passed
endpoint. The returned instance should be immediately useable.
- Specified by:
create
in interface MessageDispatcherFactory
- Specified by:
create
in class AbstractMessageDispatcherFactory
- Parameters:
endpoint
- the endoint for which this dispatcher should be created
- Returns:
- a properly created
MessageDispatcher
for this
transport
- Throws:
MuleException
- if the dispatcher cannot be created
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.