[ 
https://issues.apache.org/activemq/browse/CAMEL-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-2121.
--------------------------------

    Resolution: Fixed

trunk: 831222.

Karl can you test it on your system.

For example using
{code}
tempFileName=${file:name.noext}.tmp
{code}

To write using .tmp as filename

And you can of course have a prefix as well such as
{code}
tempFileName=inprogress-${file:name.noext}.tmp
{code}

And you can also use
{code}
tempFileName=inprogress-${file:name}.tmp
{code}

To append .tmp to the exiting filename included its extension, such as: 
myfile.xml.tmp



> camel-file - Improved tempPrefix to be expression based so people can use 
> suffix and whatnot
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2121
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2121
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.1.0
>
>


-- 
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