camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-4028) Simple language - Allow to configure prefix and suffix tokens
Date Sun, 05 Jun 2011 09:15:23 GMT

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

Claus Ibsen commented on CAMEL-4028:
------------------------------------

In the ContextTestSupport you assume only simple has prefix/suffix support. The langugeName
is provided as a parameter so you should check for that instead.

Also we have a LanguageTestSupport class in camel-test, camel-testng which may need to be
adjusted as well.

> 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_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

Mime
View raw message