org.mule.providers.email
Class SmtpMessageDispatcherFactory
java.lang.Object
org.mule.providers.AbstractMessageDispatcherFactory
org.mule.providers.email.SmtpMessageDispatcherFactory
- All Implemented Interfaces:
- UMOMessageDispatcherFactory
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 UMOMessageDispatcher create(UMOImmutableEndpoint endpoint)
throws UMOException
- Creates a new message dispatcher instance, initialised with the passed
endpoint. The returned instance should be immediately useable.
- Specified by:
create
in interface UMOMessageDispatcherFactory
- Specified by:
create
in class AbstractMessageDispatcherFactory
- Parameters:
endpoint
- the endoint for which this dispatcher should be created
- Returns:
- a properly created
UMOMessageDispatcher
for this
transport
- Throws:
UMOException
- if the dispatcher cannot be created
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.