Claus,
        I have gone through the section "Timer based polling consumer" at
http://camel.apache.org/polling-consumer.html as I am using a timer in my
route defnition.
I try to follow it but still getting the same error.It seems some thing is
wrong with the endpoint itself

String
endPointUri="file:{{inbound_home}}/bony?include=.*_BNYM_.*txt&move={{data_home}}/${file:onlyname.noext}_${date:now:yyyyMMdd}.TXT&moveFailed={{data_home}}/errorfile&doneFileName=LOADAVAILBNYM";

But this endpoint was working when I was using it in xml route defnition
with from component.
I have just to consume a file from a directory location,read it and shift to
another directory based on availability of a trigger file named
"LOADAVAILBNYM".
So I am not doing any Endpoint inject nor using producer template.
Please give some hint is this a write way to do.I don't have much experience
with camel and I don't think I have very clear grasping of consumer
template.
Thanks



--
View this message in context: 
http://camel.465427.n5.nabble.com/Unable-to-use-move-movefailed-and-donefilename-with-consumer-template-endpoint-Uri-tp5736913p5736948.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to