tags:

views:

15

answers:

1

What is the difference between the following methods for sending an outbound message using camel exchange :

   e.getIn().setBody(body)
   e.getOut().setBody(body)
   e.setOut(out);

and what exactly does the InOut Exchange pattern do ? i mean i know it's the default ExchangePattern and the caller expects a reply ..how do i set the reply..i am little vague about this . The APi javadocs are of little help :(

thank you

A: 

See the FAQ http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html

Claus Ibsen
thanks for the answer cleared some confusion
sanre6