camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael PrieƟ <>
Subject Call a bean with a overloaded method
Date Tue, 08 Nov 2011 17:17:45 GMT

me again. I looked on the following page but found only a solution to
call a method overloaded method from JAVA DSL.

But I like to use the Camel-Spring XML way like

<from uri="direct:start" />
<to uri="bean:rabbitTemplate?method=convertAndSend"/>

and call the method convertAndSend(Object); but alltime the method
convertAndSend(Object, Object) is called and throw me a

So how can I specify in my example the method convertAndSend(Object);

The object objects are only placeholder.



View raw message