You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Antoine DESSAIGNE (JIRA)" <ji...@apache.org> on 2013/05/15 19:07:16 UTC

[jira] [Updated] (CAMEL-6363) Allow to specify the string-template delimiters

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

Antoine DESSAIGNE updated CAMEL-6363:
-------------------------------------

    Attachment: allow-to-choose-string-template-delimiter.patch
    
> Allow to specify the string-template delimiters
> -----------------------------------------------
>
>                 Key: CAMEL-6363
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6363
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-stringtemplate
>    Affects Versions: 2.11.0
>            Reporter: Antoine DESSAIGNE
>         Attachments: allow-to-choose-string-template-delimiter.patch
>
>
> In the process of upgrading to Camel 2.11.0 we discovered a breaking change that wasn't documented in the change log: StringTemplate now uses {{<variable>}} instead of {{$variable$}}. This is due to the upgrade to a StringTemplate 4.x release.
> Fortunately it's possible to configure in StringTemplate the delimiters to use. Unfortunately the {{camel-stringtemplate}} endpoint doesn't allow to specify them.
> You'll find attached a patch that fill this gap.
> Aside note: the [camel-stringtemplate documentation page|http://camel.apache.org/stringtemplate.html] is out of date and still uses the {{$variable$}} format

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