On Friday, May 13, 2011 3:42:12 PM Pratyush Chandra wrote:
> Hmm..then a good way to have kind of global data in one service request...
> Thanks a lot !

Yep.  That's pretty much exactly what it's there for.   That said, be careful 
what things you set in the "setContent".   That is what CXF uses for the 
content as it transforms the content from form to form during the 
interceptors.    Thus, things like streams and readers and such are already 
"used".  You likely should use msg.setProperty(...) instead using your own 
defined keys.

Dan


> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/Accessing-MessageContext-and-http-headers-
> across-service-layers-tp4273158p4394104.html Sent from the cxf-user mailing
> list archive at Nabble.com.

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to