public class FileMessageRequester
extends org.mule.transport.AbstractMessageRequester
FileMessageRequester is used to read/write files to the filesystem| Constructor and Description |
|---|
FileMessageRequester(org.mule.api.endpoint.InboundEndpoint endpoint) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doConnect() |
protected void |
doDisconnect() |
protected void |
doDispose() |
protected org.mule.api.MuleMessage |
doRequest(long timeout)
Will attempt to do a receive from a directory, if the endpointUri resolves to
a file name the file will be returned, otherwise the first file in the
directory according to the filename filter configured on the connector.
|
protected String |
formatUsingFilenameParser(String originalFileName,
String originalDirectory,
String pattern) |
Object |
getDelegateSession()
There is no associated session for a file connector
|
protected String |
getMoveDirectory() |
protected String |
getMoveToPattern() |
applyInboundTransformers, createLifecycleManager, getEndpoint, getRequesterName, getWorkManager, initialise, requestactivate, connect, connectHandler, createMuleMessage, createMuleMessage, createMuleMessage, createMuleMessageFactory, createNullMuleMessage, disconnect, dispose, disposeAndLogException, doInitialise, doStart, doStartHandler, doStop, getConnectEventId, getConnectionDescription, getConnector, getLifecycleState, initializeMessageFactory, initializeRetryPolicy, isConnected, isDoThreading, isStarted, isStarting, isStopped, isStopping, passivate, setEndpoint, start, stop, toString, validate, validateConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactivate, createMuleMessage, createMuleMessage, getConnector, passivate, validatepublic FileMessageRequester(org.mule.api.endpoint.InboundEndpoint endpoint)
throws org.mule.api.MuleException
org.mule.api.MuleExceptionpublic Object getDelegateSession() throws org.mule.api.MuleException
org.mule.api.MuleExceptionprotected org.mule.api.MuleMessage doRequest(long timeout)
throws Exception
doRequest in class org.mule.transport.AbstractMessageRequestertimeout - this is ignored when doing a receive on this dispatcherExceptionprotected String formatUsingFilenameParser(String originalFileName, String originalDirectory, String pattern)
protected void doDispose()
doDispose in class org.mule.transport.AbstractTransportMessageHandlerprotected void doConnect()
throws Exception
doConnect in class org.mule.transport.AbstractTransportMessageHandlerExceptionprotected void doDisconnect()
throws Exception
doDisconnect in class org.mule.transport.AbstractTransportMessageHandlerExceptionprotected String getMoveDirectory()
protected String getMoveToPattern()
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.