You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/10/29 16:58:52 UTC
[jira] Created: (CAMEL-2121) camel-file - Improved tempPrefix to be
expression based so people can use suffix and whatnot
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.
[jira] Commented: (CAMEL-2121) camel-file - Improved tempPrefix to
be expression based so people can use suffix and whatnot
Posted by "Karl Palsson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55083#action_55083 ]
Karl Palsson commented on CAMEL-2121:
-------------------------------------
Actually, never mind sorry, I didn't notice that I'm finding this only _hours_ after you filed it :) What timing :)
> 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.
[jira] Commented: (CAMEL-2121) camel-file - Improved tempPrefix to
be expression based so people can use suffix and whatnot
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/CAMEL-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=55086#action_55086 ]
Claus Ibsen commented on CAMEL-2121:
------------------------------------
Yeah Karl lets get it into 2.1 now that *you* need it :)
The original tempPrefix was string based and implemented before the file component was so flexible as its now.
> 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.
[jira] Resolved: (CAMEL-2121) camel-file - Improved tempPrefix to
be expression based so people can use suffix and whatnot
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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.