I know this should be very simple, but I can't for the life of me get this to work.
I'm trying to filter my "from" files using a simple pattern. I've tried the include, but possibly my regex is incorrect. I've also tried the filter method with no luck either. I'd like to only consume files that are named similar to this... test.log.2009-04-23-98. And not files such as test.log. This is what I'm currently trying from("file:" + config.getLogURL() + "?include=clickstream.log.([0-9-]+)&move=backup/${date:now:yyyyMMdd}/${file:name}&idempotent=" + config.getIdempotent()) If I remove the regex pattern and hard code some date (clickstream.log.2009-04-23-99) it will pick up only files with that name. Thanks -- View this message in context: http://www.nabble.com/Filter-from-files-tp23197424p23197424.html Sent from the Camel - Users mailing list archive at Nabble.com.