[ 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_tokens1.patch The new patch includes everything discussed before except the Groovy example to make sure it's working for GStrings, and I lack the Groovy seasoning. I will try some more in the meantime anyway, and maybe you can give me a simple use case and I can fix it if it's still not working properly. I added some interfaces to ease the suffering with the dependency on the instance but maybe you've got a better idea for it. Finally, all the tests work, but recently some tests don't work in Maven, tests that rely on Simple. In the IDE the same tests work great, so it could have to do with a generated file like camel-spring.xsd perhaps. Anyway I'll also work on that in the meantime too but I'll be gone soon for a couple of weeks so hopefully I get to wrap it up proper before I leave. > 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_tokens2.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