RE: Store un-evaluated simple expression, and evaluate on use?

2016-04-15 Thread jimi.hullegard
On Friday, April 15, 2016 1:36 PM, claus.ib...@gmail.com wrote: > > > > > > On Fri, Apr 15, 2016 at 1:29 PM, > > wrote: > > > > So, to summarize. I can get Camel to eval the Expression bean when using > > testExpression in a setHeader. But I can't get

Re: Store un-evaluated simple expression, and evaluate on use?

2016-04-15 Thread Claus Ibsen
...@gmail.com] > Sent: Friday, April 15, 2016 1:18 PM > To: users@camel.apache.org > Subject: Re: Store un-evaluated simple expression, and evaluate on use? > > Ah yeah use instead of > > On Fri, Apr 15, 2016 at 11:31 AM, <jimi.h

RE: Store un-evaluated simple expression, and evaluate on use?

2016-04-15 Thread jimi.hullegard
@gmail.com] Sent: Friday, April 15, 2016 1:18 PM To: users@camel.apache.org Subject: Re: Store un-evaluated simple expression, and evaluate on use? Ah yeah use instead of On Fri, Apr 15, 2016 at 11:31 AM, <jimi.hulleg...@svensktnaringsliv.se> wrote: > I can't get it to work. &g

Re: Store un-evaluated simple expression, and evaluate on use?

2016-04-15 Thread Claus Ibsen
t treats the expression as a String instead of evaluating > it. > > /Jimi > > > -Original Message- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: Friday, April 15, 2016 10:39 AM > To: users@camel.apache.org > Subject: Re: Store un-evaluated simple expre

RE: Store un-evaluated simple expression, and evaluate on use?

2016-04-15 Thread jimi.hullegard
, April 15, 2016 10:39 AM To: users@camel.apache.org Subject: Re: Store un-evaluated simple expression, and evaluate on use? In Java code you can store anything in the registry, and also in xml but using style and call the static simple method on the language And then you can refer

Re: Store un-evaluated simple expression, and evaluate on use?

2016-04-15 Thread Claus Ibsen
In Java code you can store anything in the registry, and also in xml but using style and call the static simple method on the language And then you can refer to the expression using xxx Or if using simple ref:xxx An alternative is to use property placeholders