Apache Camel FTP filefilter

1.1k Views Asked by At

How I can configurate my filefilter without this

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

just use JAVA

1

There are 1 best solutions below

0
On BEST ANSWER

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

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