The scheme is wrong. You should use from("file:xxx") and NOT from
("direct:file:xxx")


On Wed, Mar 2, 2011 at 12:01 AM, Richard Kettelerij
<[email protected]> wrote:
> It's a different error, it says: Check the uri if the parameters  are spelt
> correctly and that they are properties of the endpoint. Unknown
> parameters=[{move=c:///servicemix///archive///
> ${file:name.ext}-${date:now:yyyyMMdd}}].
>
> I think it due to the absolute path. I suggest you first try
> "move=${file:name.ext}-${date:now:yyyyMMdd}". If this works correctly then
> change it to "move=archive/${file:name.ext}-${date:now:yyyyMMdd}" and after
> that to "move=../archive/${file:name.ext}-${date:now:yyyyMMdd}". Take a few
> small steps to see were things are failing.
>
> For filtering specific file (like *.txt) use the "filter" option as
> explained on http://camel.apache.org/file2 (scroll down to "Filtering using
> ANT path matcher").
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Camel-file-route-URL-tp3405693p3405853.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to