org.mule.transport.email
Class RetrieveMessageRequesterFactory
java.lang.Object
org.mule.transport.AbstractMessageRequesterFactory
org.mule.transport.email.RetrieveMessageRequesterFactory
- All Implemented Interfaces:
- MessageRequesterFactory
public class RetrieveMessageRequesterFactory
- extends AbstractMessageRequesterFactory
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.
RetrieveMessageRequesterFactory
public RetrieveMessageRequesterFactory()
isCreateRequesterPerRequest
public boolean isCreateRequesterPerRequest()
- By default client connections are closed after the request.
- Specified by:
isCreateRequesterPerRequest in interface MessageRequesterFactory- Overrides:
isCreateRequesterPerRequest in class AbstractMessageRequesterFactory
- Returns:
false by default, unless overwritten by a subclass.
create
public MessageRequester create(InboundEndpoint endpoint)
throws MuleException
- Description copied from interface:
MessageRequesterFactory
- Creates a new message requester instance, initialised with the passed
endpoint. The returned instance should be immediately useable.
- Specified by:
create in interface MessageRequesterFactory- Specified by:
create in class AbstractMessageRequesterFactory
- Parameters:
endpoint - the endoint for which this requester should be created
- Returns:
- a properly created
MessageRequester for this
transport
- Throws:
MuleException - if the requester cannot be created
Copyright © 2003-2011 MuleSoft, Inc.. All Rights Reserved.