Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F82876E7 for ; Sun, 21 Aug 2011 14:05:50 +0000 (UTC) Received: (qmail 42433 invoked by uid 500); 21 Aug 2011 14:05:49 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 42167 invoked by uid 500); 21 Aug 2011 14:05:49 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 42154 invoked by uid 99); 21 Aug 2011 14:05:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2011 14:05:48 +0000 X-ASF-Spam-Status: No, hits=-2000.9 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Aug 2011 14:05:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 44825C7B08 for ; Sun, 21 Aug 2011 14:05:27 +0000 (UTC) Date: Sun, 21 Aug 2011 14:05:27 +0000 (UTC) From: "Taariq Levack (JIRA)" To: dev@camel.apache.org Message-ID: <1712300613.56571.1313935527277.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <659029194.51701.1306657367296.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CAMEL-4028) Simple language - Allow to configure prefix and suffix tokens MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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