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

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

Anyone got good ideas for this one?

The idea is to have a simple pattern to set in the URI configuration or as a 
option on the FileEndpoint.

Most end-users need eg to move files into a "backup" folder with some kind of 
pattern usually a date pattern. This is as a shortcut for not needing to 
provide a speical headername yourself that you need to compute in Java using a 
bean/processor. Resorting to some EL is also doable but not easy for new users 
to camel and then there is also the dependency for the EL of choice.



> 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