Hi It has to be a valid uri,
file:///opt/jboss-fuse-6.1.0.redhat-379/myfolder/?=&include=Sample should be file:///opt/jboss-fuse-6.1.0.redhat-379/myfolder/?include=Sample On Tue, Apr 14, 2015 at 9:55 AM, niteshjain <niteshjain...@gmail.com> wrote: > getting an ResolveEndpointFailedException > > Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to > resolve endpoint: > file:///opt/jboss-fuse-6.1.0.redhat-379/myfolder/?=&include=Sample.*xml%3Fmove%3D%24%7Bfile%3Aname%7D.processed > due to: There are 1 parameters that couldn't be set on the endpoint. Check > the uri if the parameters are spelt correctly and that they are properties > of the endpoint. Unknown parameters=[{=}] > > currently configured endpoint: > <from > uri="file:{{TEST_HOME}}/myfolder/?&include=Sample.*xml?move=${file:name}.processed" > /> > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/How-to-use-Apache-camel-file-component-to-do-a-pattern-match-rename-the-file-tp5765695p5765743.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/