Hi,

please do

inMessage.getExchange().put("KEY", obj);
and
outMessage.getExchange().get("KEY");

cheers, Sergey

----- Original Message ----- From: "vickatvuuch" <vlisov...@gmail.com>
To: <users@cxf.apache.org>
Sent: Wednesday, October 21, 2009 10:13 PM
Subject: How-to pass an object from InInterceptor to outInterceptor



Hi All,

I'm trying to pass an object from my custom inInterceptor for my custom
outInterceptor to pick up and write it to the reply header.

I tried setting it on the message inside an inInterceptor, but that doesn't
make it to my outInterceptor.

message.put("KEY", obj); //this only visible in the inInterceptors

message.get("KEY"); //outInterceptor gets nothing since
OutgoingChainInterceptor not propagating it.


Thanks,
-Vitaly
--
View this message in context: http://www.nabble.com/How-to-pass-an-object-from-InInterceptor-to-outInterceptor-tp26000367p26000367.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to