camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine DESSAIGNE (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-6363) Allow to specify the string-template delimiters
Date Wed, 15 May 2013 17:07:16 GMT
Antoine DESSAIGNE created CAMEL-6363:
----------------------------------------

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

Mime
View raw message