Hi The id is a special type for identifier - dont think it allows {{ }} or ${ } syntax.
But you can try as documented at section: Using property placeholders for any kind of attribute in the XML DSL on this page: http://camel.apache.org/using-propertyplaceholder.html On Sat, Feb 22, 2014 at 3:20 PM, sekaijin <jean-yves.terr...@sap.aphp.fr> wrote: > Hi, > > A suggestion for XML DSL camel. > > when a defined context and routes with camel XML is boring fill use a > placeholder. > then we can easily parameterize the route. but some elements do not support > parameters. > > we can not use a parameter for the name of the road or context. > > Invalid XML ids > I'm suggest > > > impossible to write for example > > I propose that the name attribute is added or contextId and routeId on > context and road. to allow setting these attributes. use the XML id > prohibits the use of parameters. > > to the value between the tags and not the attribute It would be interesting > to find a way to make them configurable. > > With this it is possible to define a road model in XML and allow the user > the choice of final parameters > A + JYT > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/suggestion-for-camel-XML-DSL-tp5747821.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io