[ 
https://issues.apache.org/jira/browse/CXF-6678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008466#comment-15008466
 ] 

Sergey Beryozkin commented on CXF-6678:
---------------------------------------

Np. thanks. CXF out fault interceptors are only invoked in JAX-RS flows if the 
exception thrown by the service code escapes (no ExceptionMapper) but in case 
of the async response the escaped exceptions are wrapped into Response and 
returned directly. So you control that by using exception mappers and may be 
container response filters 

> AsyncResponse & outFaultInterceptors
> ------------------------------------
>
>                 Key: CXF-6678
>                 URL: https://issues.apache.org/jira/browse/CXF-6678
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.0.2
>         Environment: karaf 3.0.4
>            Reporter: Alberto São Marcos
>            Priority: Minor
>
> With an _AbstractPhaseInterceptor_ implementation configured as an 
> _outFaultInterceptors_, its _handleMessage_  does not get invoked when an 
> _Exception_ is returned by the _AsyncResponse.resume_ method.
> The response does arrive with a 500 response code, but the interceptor does 
> not seem to be invoked at all.
> Not sure if a bug or just a know limitation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to