[ 
https://wso2.org/jira/browse/ESBJAVA-408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Upul Godage resolved ESBJAVA-408.
---------------------------------

    Resolution: Fixed

Fixed in Synapse
Added VFS transport listener parameter,transport.vfs.MoveTimestampFormat which 
takes a java.text.SimpleDateFormat compatible string.  Formatted date string 
will be prefixed in the file name.
e.g.
File name: test.xml
Format: yyMMddHHmmss'-'
gives processed filename as: 080312104209-test.xml



> Support improved renaming of files using VFS transport
> ------------------------------------------------------
>
>                 Key: ESBJAVA-408
>                 URL: https://wso2.org/jira/browse/ESBJAVA-408
>             Project: WSO2 ESB
>          Issue Type: Improvement
>          Components: Core Engine
>            Reporter: Paul Fremantle
>            Assignee: Upul Godage
>             Fix For: 1.7
>
>
> A user has proposed this: when a file is moved into a "processed" directory 
> by the VFS transport, it would be nice to rename it to include the date and 
> time. e.g.
> original file: incoming/i222.txt
> processed file: processed/i222-05-sep-2007-17:32:31UTC.txt
> or something along those lines. Perhaps we could introduce some kind of 
> parameterization like %D for date etc. There are several models that might 
> work.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev

Reply via email to