This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 0c0a17f CAMEL-13432: Simple language - Deprecate and remove change its start/end token 0c0a17f is described below commit 0c0a17f594037735f659f1840dca7c011e47fae8 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Thu Apr 18 11:56:56 2019 +0200 CAMEL-13432: Simple language - Deprecate and remove change its start/end token --- core/camel-core/src/main/docs/simple-language.adoc | 25 ---------------------- 1 file changed, 25 deletions(-) diff --git a/core/camel-core/src/main/docs/simple-language.adoc b/core/camel-core/src/main/docs/simple-language.adoc index da543fe..b505ea4 100644 --- a/core/camel-core/src/main/docs/simple-language.adoc +++ b/core/camel-core/src/main/docs/simple-language.adoc @@ -868,31 +868,6 @@ And in XML DSL </setHeader> ---- -=== Changing function start and end tokens - -*Available as of Camel 2.9.1* - -You can configure the function start and end tokens - $\{ } using the -setters `changeFunctionStartToken` and `changeFunctionEndToken` on -`SimpleLanguage`, using Java code. From Spring XML you can define a -<bean> tag with the new changed tokens in the properties as shown below: - -[source,xml] ----- -<!-- configure Simple to use custom prefix/suffix tokens --> -<bean id="simple" class="org.apache.camel.language.simple.SimpleLanguage"> - <property name="functionStartToken" value="["/> - <property name="functionEndToken" value="]"/> -</bean> ----- - -In the example above we use [ ] as the changed tokens. - -Notice by changing the start/end token you change those in all the Camel -applications which share the same *camel-core* on their classpath. + - For example in an OSGi server this may affect many applications, where -as a Web Application as a WAR file it only affects the Web Application. - === Loading script from external resource *Available as of Camel 2.11*