You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by "Muenkel, Markus" <ma...@sap.com> on 2012/08/29 17:39:39 UTC

Beans parameter binding feature available in blueprint XML?

Hi,

the documentation at http://camel.apache.org/bean-binding.html describes the parameter binding feature that supports invoking a Java bean method with specified parameter values (literals or simple expressions) and gives examples in the Java DSL.

AFAIK this feature is not supported in blueprint XML. Is this correct and if so, is it planned for future releases?

Best regards,
Markus

Re: Beans parameter binding feature available in blueprint XML?

Posted by Claus Ibsen <cl...@gmail.com>.
On Wed, Aug 29, 2012 at 5:39 PM, Muenkel, Markus <ma...@sap.com> wrote:
> Hi,
>
> the documentation at http://camel.apache.org/bean-binding.html describes the parameter binding feature that supports invoking a Java bean method with specified parameter values (literals or simple expressions) and gives examples in the Java DSL.
>

Its just part of the endpoint uri, in the *to* DSL so you can do that
in any DSL.

<to uri="bean:orderService?method=doSomething(${body.asXml}, ${header.high})"/>




> AFAIK this feature is not supported in blueprint XML. Is this correct and if so, is it planned for future releases?
>
> Best regards,
> Markus



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen