Hi,I'm actually hunting a potential bug after upgrading to the latest 4.10.0 Camel version. It seems that the implementation of GenericFileConsumer.getRelativeFilePath does return different values for different file systems. In my test, I'm polling a directory with antInclude set to "subdir/file.txt".
Return value of getRelativeFilePath for file, "subdir/file.txt" and for ftp/sftp "subdir" (without filename). This causes the antFilter to evaluate to false.
Maybe a regression of CAMEL-17648. BTW it works with 4.8.3 Regards Benjamin
OpenPGP_signature.asc
Description: OpenPGP digital signature