ffang opened a new pull request, #3741: URL: https://github.com/apache/cxf/pull/3741
With a decoupled endpoint, the reply and other messages for the same exchange (an HTTP 202 acknowledgement, a partial response) can reach the client in any order. CXF-9275 kept HTTPConduit from replacing a reply that has already finished the exchange, but ClientImpl could still lose it: - onMessage() made every message the in message of the exchange, so a partial response processed after the reply (as WS-RM does), or a 202 passed on with propagate202Response, replaced it, and its finally block could finish the exchange a second time with it; - processResult() read the in message of the exchange, so the callback of an asynchronous call could get the result or the fault of a message that arrived while the reply was being processed. onMessage() now leaves the exchange alone once another message has finished it, and still processes the late message. processResult() uses the response it is called with, for its result and its fault. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
