javaapache-camelfilefiltercamel-ftp

Apache Camel FTP filefilter


How I can configurate my filefilter without this

<bean id="#myFilter" class="com.mycompany.Myfilter"/>,

just use JAVA


Solution

  • Just create a class that implements GenericFileFilter and then add to the main Camel

      main.bind("ftpProcessor",new FtpProcessor());