Hi Team,

I just fixed CAMEL-6609[1] by calling the 
getConduitSelector().complete(cxfExchange) inside of my custom CallBack method. 
But I think I should fix it from CXF.

I tried to add this call into the org.apache.cxf.message.Message.ClientCallback 
class, but I found  I have to get the reference of ClientImpl to do that call.
I also tried to add some code in the ClientImpl, but I found the 
ClientOutFaultObserver will call the ClientCallback handleException when 
exception is through, and I don't like the idea to let the 
ClientOutFaultObserver hold the reference of ClientImpl. 

Is there any good way to let the getConduitSelector().complete(cxfExchange) be 
called rightly, when the exception is thrown from the interceptor chain.

[1]https://issues.apache.org/jira/browse/CAMEL-6609

Regards,

Willem
 


Reply via email to