You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/07/25 13:41:00 UTC
[jira] [Resolved] (CAMEL-11230) Allow to configure the
prefix/suffix used for languages
[ https://issues.apache.org/jira/browse/CAMEL-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-11230.
---------------------------------
Resolution: Won't Fix
> Allow to configure the prefix/suffix used for languages
> -------------------------------------------------------
>
> Key: CAMEL-11230
> URL: https://issues.apache.org/jira/browse/CAMEL-11230
> Project: Camel
> Issue Type: New Feature
> Components: camel-core, camel-language
> Reporter: Luca Burgazzoli
> Priority: Minor
> Fix For: 3.0.0
>
>
> It would be nice to have a way to configure the prefix/suffix used to parse languages so that an user can change the defaults in case they clash with other systems or because of personal preferences:
> i.e.
> {code:xml|title=XML Dsl|borderStyle=solid}
> <camelContext id="camel" xmlns="http://camel.apache.org/schema/spring">
> <languages>
> <language id="properties" prefix="{{" suffix="}}"/>
> <language id="simple" prefix="[[" suffix="]]"/>
> <language id="groovy" prefix="<<" suffix=">>"/>
> </languages>
> <route>
> <from uri="timer:{{timer.name}}"/>
> <log message="Body is [[body]]"/>
> <log message="Body is <<exchange.in.body>>"/>
> </route>
> </camelContext>
> {code}
> {code:title=Spring Boot properties|borderStyle=solid}
> camel.language.properties.prefix = {{
> camel.language.properties.suffix = {{
> camel.language.simple.prefix = [[
> camel.language.simple.suffix = ]]
> camel.language.groovy.prefix = <<
> camel.language.groovy.suffix = >>
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)