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
MessageBodyWriterInterceptorthat I'd like to be invoked for every response, but I've discovered that if one of myExceptionMapperscreates a response, theMessageBodyWriterInterceptoris not invoked. How can I make theMessageBodyWriterInterceptors 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
