You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Alarm <st...@yahoo.com> on 2015/01/26 16:15:41 UTC
Passing object parameters to Bean
Hello,
i am trying to pass some object parameters to a bean. Right now i am able to
pass the body of the exhange message or the entire exchange message with:
.bean(MyBean.class, "processData(${body})")
or following for the entire Exchange
.bean(MyBean.class, "processData(*)")
The above works pretty well. Unfortunately i am unable to pass other Objects
as parameters. For example assuming i have:
MyObject myobj = new MyObject()
.bean(MyBean.class, "processData(*,myobj )")
Is something like this possible ?
--
View this message in context: http://camel.465427.n5.nabble.com/Passing-object-parameters-to-Bean-tp5762124.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Passing object parameters to Bean
Posted by Alarm <st...@yahoo.com>.
Not possible ?
--
View this message in context: http://camel.465427.n5.nabble.com/Passing-object-parameters-to-Bean-tp5762124p5762182.html
Sent from the Camel - Users mailing list archive at Nabble.com.