On Tue, Mar 19, 2013 at 2:02 PM, Gert Villemos <gville...@gmail.com> wrote: > In an inOut route I would like to bind the IN and the OUT message to method > parameters using annotations. Something like; > > public void foo(@body String inMessage, @X String outMessage) > > I cant find this in the annottation description. >
The out message is what you return from the method. So change the void to String. > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Binding-IN-and-OUT-message-using-annotation-tp5729418.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen