org.mule.transport.file
Class FileMessageDispatcher
java.lang.Object
org.mule.transport.AbstractConnectable
org.mule.transport.AbstractMessageDispatcher
org.mule.transport.file.FileMessageDispatcher
- All Implemented Interfaces:
- ExceptionListener, Disposable, Connectable, MessageDispatcher, MessageDispatching
public class FileMessageDispatcher
- extends AbstractMessageDispatcher
FileMessageDispatcher
is used to read/write files to the filesystem
Methods inherited from class org.mule.transport.AbstractConnectable |
activate, connect, disconnect, dispose, disposeAndLogException, exceptionThrown, getConnectEventId, getConnectionDescription, getConnector, getEndpoint, isConnected, isDoThreading, passivate, reconnect, toString, validate |
FileMessageDispatcher
public FileMessageDispatcher(OutboundEndpoint endpoint)
doDispatch
protected void doDispatch(MuleEvent event)
throws Exception
- Specified by:
doDispatch
in class AbstractMessageDispatcher
- Throws:
Exception
getDelegateSession
public Object getDelegateSession()
throws MuleException
- There is no associated session for a file connector
- Throws:
MuleException
getNextFile
protected static File getNextFile(String dir,
FilenameFilter filter)
throws MuleException
- Throws:
MuleException
doSend
protected MuleMessage doSend(MuleEvent event)
throws Exception
- Specified by:
doSend
in class AbstractMessageDispatcher
- Throws:
Exception
doDispose
protected void doDispose()
- Specified by:
doDispose
in class AbstractConnectable
doConnect
protected void doConnect()
throws Exception
- Specified by:
doConnect
in class AbstractConnectable
- Throws:
Exception
doDisconnect
protected void doDisconnect()
throws Exception
- Specified by:
doDisconnect
in class AbstractConnectable
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.