Just to clarify, there seems to be some confusion regarding the usage of sendBody/requestBody and variants. The correct usage is as follows, pasted from the Wiki:
The send*() methods use the default Message Exchange Pattern (InOnly, InOut > etc) as the endpoint. If you want to explicitly perform a request/response > (InOut) you can use the request*() methods instead of the send*() methods. i.e. to force InOut, use request*() methods. You can also use the async*() variants if you want asynchronous request/reply. Check out the full API doc at: http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/ProducerTemplate.html Regards, Raúl. On 13 December 2011 09:52, Guillaume Yziquel < [email protected]> wrote: > Le Tuesday 13 Dec 2011 à 01:30:10 (-0800), metebalci a écrit : > > > > Christian, you said sendBody uses InOut pattern, actually I only want > InOnly > > (only send, no need for return), how can I use it like that ? > > requestBody. > > http://camel.apache.org/producertemplate.html > > -- > Guillaume Yziquel >
