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

Claus Ibsen commented on CAMEL-18965:
-------------------------------------

There is an UnitOfWorkCloserInterceptor that is supposed to done the UoW. But 
its not triggered when there is this soap fault. 

There are 2 closers below. 1st is for one-way. And a SOAP is request/response, 
so its not done. The 2nd below is not called when there is a SOAP fault error 
inside CXF.

        ret.getEndpoint().getInInterceptors().add(new 
UnitOfWorkCloserInterceptor("post-invoke", true));
        ret.getEndpoint().getOutInterceptors().add(new 
UnitOfWorkCloserInterceptor());



> Camel-CXF: OnCompletion not working anymore
> -------------------------------------------
>
>                 Key: CAMEL-18965
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18965
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 3.11.1
>            Reporter: Manuel Shenavai
>            Assignee: Freeman Yue Fang
>            Priority: Minor
>
> Since following change, the onCompletionHandler is not called anymore in 
> error case (soap fault)
> https://issues.apache.org/jira/browse/CAMEL-16796
> [https://github.com/apache/camel/commit/45e64cce8ad2e1d22a5f55be13a6dfcaa504f58f]
> {*}Reproducer{*}: [https://github.com/mash-sap/CAMEL-16532/tree/Camel-18965]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to