You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/09/15 15:20:54 UTC

[jira] [Commented] (CAMEL-6748) Optimize File Producers by Skipping Header Evaluation

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

Claus Ibsen commented on CAMEL-6748:
------------------------------------

Thanks for the patch.

I improved the patch to check that the FILE_NAME was already an Expression and use it as is. 
                
> Optimize File Producers by Skipping Header Evaluation
> -----------------------------------------------------
>
>                 Key: CAMEL-6748
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6748
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: James Carman
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.7, 2.10.7, 2.11.2, 2.12.1, 2.13.0
>
>         Attachments: CAMEL-6748.patch
>
>
> The current file producer code will evaluate CamelFileName headers as simple expressions if they start with "$simple".  There are other ways to achieve this same thing and this functionality is unnecessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira