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

Taariq Levack updated CAMEL-4028:
---------------------------------

    Attachment: 
CAMEL-4028_Simple_language_-_Allow_to_configure_prefix_and_suffix_tokens_4.patch

The failing unit SimpleLanguageGlobalCustomTokensTest shows another problem, 
setting it up using the namespace is useless when it's not singleton, so 
SimpleLanguage will be recreated when DefaultCamelContext is asked to 
resolveLanguage.
Any ideas on overcoming this? Did I take the right approach?

> Simple language - Allow to configure prefix and suffix tokens
> -------------------------------------------------------------
>
>                 Key: CAMEL-4028
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4028
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.7.0
>            Reporter: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.9.0, Future
>
>         Attachments: 
> CAMEL-4028_Simple_language_-_Allow_to_configure_prefix_and_suffix_tokens_4.patch
>
>
> The simple language uses ${ } tokens by default. However groovy uses those 
> for its GString. So we have a clash. Even if you use $simple{ } instead in 
> Groovy then you have a clash.
> So we should add support for configuring the tokens so you can remedy the 
> GString clash in Groovy.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to