commit | 3505e718db48cc0d8be5b47f6c4030c958d93a5f | [log] [tgz] |
---|---|---|
author | Zoran Regvart <zregvart@apache.org> | Thu Apr 27 14:40:18 2017 +0200 |
committer | Zoran Regvart <zregvart@apache.org> | Fri Apr 28 17:55:54 2017 +0200 |
tree | 6493b431d16dca3e038f42f7bb3077f693abd138 | |
parent | 626ef32038f6344d7897a6f78b14b24cca814a53 [diff] |
CAMEL-11212 Don't allow Salesforce HTTP client ... ...to stop with outstanding requests This introduces a `Phaser` to await for any in-flight requests to complete before the client is allowed to stop. This should not block as long as the `BufferingResponseListener::onComplete` is invoked at the end of every request. And that is guaranteed by the `CompleteListener::onComplete` contract.