Re: Problem using include with regexp

2015-08-11 Thread Claudio R
Hi Claus,I changed the code as you indicated from("file:c:/camel/src/data?delete=true&include=RAW(n[\\d]+\\.xml)") Now it worked. Thank you very much. Em Domingo, 9 de Agosto de 2015 4:10, Claus Ibsen escreveu: Hi You can use the raw() syntax http://camel.apache.org/how-do-i-con

Re: Problem using include with regexp

2015-08-09 Thread Claus Ibsen
Hi You can use the raw() syntax http://camel.apache.org/how-do-i-configure-endpoints.html On Sun, Aug 9, 2015 at 2:58 AM, Claudio R wrote: > Hi, > I am trying execute the java code below to process only files with name > (n20.xml, n25.xml etc) > > from("file:c:/camel/src/data?delete=true&includ

Re: Problem using include with regexp

2015-08-08 Thread rishabhtulsian
this code if (!name.matches(endpoint.getInclude())) { return false; } uses the encoded regex string and hence 'matches' returns false. -rishabh -- View this message in context: http://camel.465427.n5.nabble.com/Problem-using-include-w

Problem using include with regexp

2015-08-08 Thread Claudio R
Hi, I am trying execute the java code below to process only files with name (n20.xml, n25.xml etc) from("file:c:/camel/src/data?delete=true&include=n[\\d]+\\.xml") I do not want to process files with name n.xml for example. The problem is the Camel doesn´t catch the files in directory. Is it a b