Hi Sergey,

We have been using an cxf-jaxrs for a while and currently the response
gets marshalled by JAXRSOutputInterceptor using our own messageBodyWriter.
However, we have two layers in our architecture and output from layer1
gets consumed by layer2 (both layers are within the same jvm). So, instead
of marshalling data from layer1 and receiving it and unmarshalling it into
java objects again, we would like to not do marshalling for some cases and
instead receive the response entity as it. Is there a way to pass the
response entity as it is?

I am thinking to insert another interceptor before JAXRSOutputInterceptor
and extract it from cxf Message and put it in httpresponse. Is there any
better solution?

Thanks much,
Sadhana

Reply via email to