Hi, I am not sure if its works, but you can try enabling the option streamCache on the route from which the web service is invoked. When using cxfrs component with trace/debug enabled the payload (stream) received from server is flushed once it is displayed - be it in logs or in your application. In order to preserve it you can enable stream caching on the route.
Thanks, Kalyan -- View this message in context: http://camel.465427.n5.nabble.com/How-to-access-payload-from-REST-404-reply-in-cxfrs-tp5773325p5773336.html Sent from the Camel - Users mailing list archive at Nabble.com.