org.mule.providers.email
Class RetrieveMessageDispatcherFactory
java.lang.Object
org.mule.providers.AbstractMessageDispatcherFactory
org.mule.providers.email.RetrieveMessageDispatcherFactory
- All Implemented Interfaces:
- UMOMessageDispatcherFactory
- public class RetrieveMessageDispatcherFactory
- extends AbstractMessageDispatcherFactory
A source of mail receiving message dispatchers.
The dispatcher can only be used to receive message (as apposed to
listening for them). Trying to send or dispatch will throw an
UnsupportedOperationException.
RetrieveMessageDispatcherFactory
public RetrieveMessageDispatcherFactory()
isCreateDispatcherPerRequest
public boolean isCreateDispatcherPerRequest()
- By default client connections are closed after the request.
- Specified by:
isCreateDispatcherPerRequest in interface UMOMessageDispatcherFactory- Overrides:
isCreateDispatcherPerRequest in class AbstractMessageDispatcherFactory
- Returns:
false by default, unless overwritten by a subclass.
create
public UMOMessageDispatcher create(UMOImmutableEndpoint endpoint)
throws UMOException
- Description copied from interface:
UMOMessageDispatcherFactory
- 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
- Throws:
UMOException
Copyright © 2003-2007 MuleSource, Inc.. All Rights Reserved.