Camel 2.8.1
Using FTP endpoint that should recursively find all xml-files, but not look
into a specific directory.
Scenario:
Parent dir: /a/b/c
There we find directories d, e, f, g and h. Each of them having sub
directories with files.
Directory f am I not allowed to take files from. How do I configure filter
includes and excludes? I thought it would go as below:
Preparing the filter:
AntPathMatcherGenericFileFilter filter = new
AntPathMatcherGenericFileFilter();
filter.setIncludes("**/*.xml");
filter.setExcludes("f");
and the endpoint:
ftp://user@host//a/b/c?filter=#filter&password=******&recursive=true
But TRACE tells me that it do look into directory f anyway...
thanks,
/L
--
View this message in context:
http://camel.465427.n5.nabble.com/Need-help-on-using-Ant-path-matcher-tp4852531p4852531.html
Sent from the Camel - Users mailing list archive at Nabble.com.