camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <willem.ji...@gmail.com>
Subject Re: how to get response on synchronous in cxf-module?
Date Fri, 26 Aug 2011 03:43:07 GMT
On 8/26/11 10:52 AM, xiangqiuzhao wrote:
> i need get the request body content in the response message.
>
> my application like
>
> from("direct://test").process(new ProcessA()).to("cxf://remote").process(new
> ProcessB())
>
> ProcessA  set exchange.getOut().setBody() at last, example
> exchange.getOut().setBody(mapObj)
> but in ProcessB need get the ProcessA's mapObj, i look the exchange object
> in ProcessB's process method,
> can't get the mapObj in exchange.in or exchange.out
>

You may consider to put the this mapObj into the exchange property then 
you can get it in the ProcessB.

> --
> View this message in context: http://camel.465427.n5.nabble.com/how-to-get-response-on-synchronous-in-cxf-module-tp4733514p4736682.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Mime
View raw message