MessageBodyWriterInterceptor not getting invoked when an ExceptionMapper is executed
Issue
- I am using a RESTEasy service and wanted to capture both raw input and output from and to the service. I have a
MessageBodyWriterInterceptor
that I'd like to be invoked for every response, but I've discovered that if one of myExceptionMappers
creates a response, theMessageBodyWriterInterceptor
is not invoked. How can I make theMessageBodyWriterInterceptor
s be invoked in this scenario?
Environment
- JBoss Enterprise SOA Platform 5.x
- JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.