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 answers

0
Christian Altamirano Ayala On BEST ANSWER

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

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