Using this syntax, this is working.

        
from("file:///c:/temp/test?moveNamePrefix=c:/temp/consumed/&moveNamePostfix=old")

Thx for your help.


Claus Ibsen wrote:
> 
> Hi
> 
> Could the problem bet hat you have the noop=true. Try using noop=false, or
> remove the option as its the default value.
> 
> 
> From the component wiki documentation:
> http://activemq.apache.org/camel/file.html
> 
> 
> noop   false   If true then the file is not moved or deleted in any way
> (see below). This option is good for read only data, or for ETL type
> requirements 
> 
> 
> Med venlig hilsen
>  
> Claus Ibsen
> ......................................
> Silverbullet
> Skovsgårdsvænget 21
> 8362 Hørning
> Tlf. +45 2962 7576
> Web: www.silverbullet.dk
> -----Original Message-----
> From: cmoulliard [mailto:[EMAIL PROTECTED] 
> Sent: 15. maj 2008 13:15
> To: [email protected]
> Subject: File not renamed using file:/// component
> 
> 
> Hi,
> 
> I try to rename the file processed at a endpoint without success.
> 
> The following routing instruction does not rename my file : 
> 
> from("file:///c:/temp/test?noop=true&moveNamePostfix=old")
> 
> I use Camel-1.4-SNAPSHOT
> 
> Where is the issue ?
> 
> Regards,
> 
> Charles
> -- 
> View this message in context:
> http://www.nabble.com/File-not-renamed-using-file%3A----component-tp17250885s22882p17250885.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/File-not-renamed-using-file%3A----component-tp17250885s22882p17253554.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to