camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwarakart <dwaraka.ram...@gmail.com>
Subject Case insensitive file pattern matcher. Not Ant Pattern Matcher
Date Mon, 16 Nov 2015 23:53:09 GMT
Hi All,

After going through the documentation of FileEndpoint and FileConsumer, I
realized there is no direct way of using the fileName include/exclude with
an  input pattern with case sensitivity.

Ex: if the include format is [0-9]{8}_[0-9]{6}_abc.txt

and I need to match bot the below
20151116_103000_abc.txt
20151116_123030_Abc.txt

but the below files should not be matched
20151116_123_abc.txt

This couldnt be achieved using the AntPathMatcherGenericFileFilter. Please
suggest if there is a way I can implement the same. 

Thanks
Dwarakart



--
View this message in context: http://camel.465427.n5.nabble.com/Case-insensitive-file-pattern-matcher-Not-Ant-Pattern-Matcher-tp5773964.html
Sent from the Camel Development mailing list archive at Nabble.com.

Mime
View raw message