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

Taariq Levack edited comment on CAMEL-4028 at 8/21/11 7:22 AM:
---------------------------------------------------------------

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.

Just need to register the language beans from the XML to the bean registry then 
I'll get a new patch up.
The first groovy test I'll still be grateful for.

      was (Author: taariql):
    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_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