camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: dynamic property keys
Date Tue, 26 Jun 2012 08:03:39 GMT
On Mon, Jun 25, 2012 at 7:40 PM, paramjyotsingh
<> wrote:
> Hey Clause,
> I looked at the documentation it says that nested expressions are not
> supported in 2.8.X and older. Can you please suggest any work around for
> this scenario.

You can use a java bean / processor, and then there is any API on
CamelContext to resolve property placeholders

Then you can lookup the placeholders 2 times as nested are still not
supported. But then you can do this manually in some java code.

And then in the <setHeader> you can use a <bean> expression to call
your bean / processor.

> Thanks and Regards,
> Paramjyot Singh
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message