camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwarakart <>
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

but the below files should not be matched

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


View this message in context:
Sent from the Camel Development mailing list archive at

View raw message