Hi,I did open CAMEL-21739 for this and add a https://github.com/apache/camel/pull/17143 for a potential fix.
Regards, Benjamin On 11.02.2025 21:29, Benjamin Graf wrote:
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