You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Charles Moulliard <cm...@gmail.com> on 2010/03/30 10:50:21 UTC
Camel Spring DSL & Constant !
Hi,
I would like to define the content of the <constant> using a spring bean +
variable retrieved from property file.
The syntax that we can use in Camel Spring DSL is :
<setBody>
<constant>Hello World from SMX3 !</constant>
</setBody>
Can we pass the content (between <constant></constant> xml tags) as a spring
bean object ? If yes, How ?
Kind regards,
Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer
*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard
Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
Re: Camel Spring DSL & Constant !
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
Use the simple language for that kind
On Tue, Mar 30, 2010 at 10:50 AM, Charles Moulliard
<cm...@gmail.com> wrote:
> Hi,
>
> I would like to define the content of the <constant> using a spring bean +
> variable retrieved from property file.
>
> The syntax that we can use in Camel Spring DSL is :
>
> <setBody>
> <constant>Hello World from SMX3 !</constant>
> </setBody>
>
> Can we pass the content (between <constant></constant> xml tags) as a spring
> bean object ? If yes, How ?
>
> Kind regards,
> Charles Moulliard
> Senior Enterprise Architect
> Apache Camel Committer
>
> *****************************
> blog : http://cmoulliard.blogspot.com
> twitter : http://twitter.com/cmoulliard
> Linkedlin : http://www.linkedin.com/in/charlesmoulliard
>
> Apache Camel Group :
> http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm
>
--
Claus Ibsen
Apache Camel Committer
Author of Camel in Action: http://www.manning.com/ibsen/
Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus