[ 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 This patch includes the global config using java and spring, but not yet the namespace and the first groovy test I'd still be grateful for. How do I handle the camel-spring for language? The other JAXB changes I made work fine except for this, and I notice there's already a 'language' in the model, see LanguageExpression, so I hope there won't be a clash. Should I use language here as well, or what else? I have temporarily named the new one language2, and I assumed I should add this list of LanguageDefinition to CamelContextFactoryBean, but as you'll see after building camel-core, you still cannot use language2 as I tried in SimpleLanguageGlobalCustomTokensTest. Thanks for the patience, I'm playing with many new toys for this ticket and it's great and everything, but with current timing I'm hoping it's a few minute job for someone to point me in the right direction while I dig around here and there. > 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_tokens1.patch, > > 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