On Fri, Jul 22, 2011 at 1:57 PM, <[email protected]> wrote: > Hi, > > I am using simple expression language to define > > <camel:choice> > <camel:when> > <camel: > <camel:simple>${in.headers.abc} == > 'xyz'</camel:simple> > > Instead of hard coding 'xyz' I would like to reference it from a constants > file (Constants.XYZ). Is that possible in Spring DSL? Or is Java DSL the only > option? >
That is not possible. You can use some of the dynamic scripting languages like Groovy for that. http://camel.apache.org/languages.html > Please recommend. > > Thanks, > Deepa > > > > ________________________________ > This message is for the designated recipient only and may contain privileged, > proprietary, or otherwise private information. If you have received it in > error, please notify the sender immediately and delete the original. Any > other use of the email by you is prohibited. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/
