On Mon, Nov 19, 2012 at 9:48 PM, Henrique Viecili <[email protected]> wrote: > Is it possible to set the route id attribute with a dynamic value? (in > Spring DSL) > > Example: > > <camel:route id="my-route-{{suffix}}"/> > > and 'suffix' comes from a property file. >
Have you tried Camel's property placeholder on the DSL is applies on all the setter/getters on the model. So from Camel point of view, there is a getId/setId option. Though that's usully applied to the content inside a route. On the <route> itself I am actually not sure the "id" attribute is. Though give it a try and report back. > > *Henrique Viecili* -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
