[ 
https://issues.apache.org/activemq/browse/CAMEL-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45059#action_45059
 ] 

Claus Ibsen commented on CAMEL-621:
-----------------------------------

I am experimenting with implementing a new FileLanguage that is based on the 
simple language for the pattern placeholders, so you can configure the endpoint 
something like this:

{{file://target/filelanguage/report.txt?moveExpression=${id}.bak}}

The new option *moveExpression* is a String option to set the FileLanguage 
expression where you can use plain text and use the different ${  } 
placeholders for convienient file name patterns


> File component - file rename pattern to support patterns such as date time 
> etc.
> -------------------------------------------------------------------------------
>
>                 Key: CAMEL-621
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-621
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 1.5.0
>
>
> A very common use case is to copy received messages into files stored in a 
> backup folder with sub folders named with the date pattern etc.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to