| org.apache.servicemix.common.endpoints.PollingEndpoint org.apache.servicemix.ftp.FtpPollerEndpoint
FtpPollerEndpoint | public class FtpPollerEndpoint extends PollingEndpoint implements FtpEndpointType(Code) | | A polling endpoint which looks for a file or files in a directory
and sends the files into the JBI bus as messages, deleting the files
by default when they are processed.
version: $Revision: 468487 $ |
FtpPollerEndpoint | public FtpPollerEndpoint()(Code) | | |
getTargetOperation | public QName getTargetOperation()(Code) | | |
isDeleteFile | public boolean isDeleteFile()(Code) | | Returns whether or not we should delete the file when its processed
|
isRecursive | public boolean isRecursive()(Code) | | |
pollFileOrDirectory | protected void pollFileOrDirectory(FTPClient ftp, String fileOrDirectory, boolean processDir) throws Exception(Code) | | |
processFileAndDelete | protected boolean processFileAndDelete(String file)(Code) | | |
returnClient | protected void returnClient(FTPClient client)(Code) | | |
setClientPool | public void setClientPool(FTPClientPool clientPool)(Code) | | Parameters: clientPool - the clientPool to set |
setDeleteFile | public void setDeleteFile(boolean deleteFile)(Code) | | |
setFilter | public void setFilter(FileFilter filter)(Code) | | Sets the optional filter to choose which files to process
|
setRecursive | public void setRecursive(boolean recursive)(Code) | | |
setTargetOperation | public void setTargetOperation(QName targetOperation)(Code) | | |
setUri | public void setUri(URI uri)(Code) | | Parameters: uri - the uri to set |
|
|