Details
-
Task
-
Status: Done
-
L3 - Default
-
Resolution: Fixed
-
None
-
None
Description
AT:
- Create http client in EngineIntegrationRule only once
- Use only one client implementation
Background:
- Currently, we create in almost every method a new client and then close it after the logic is done. Creating the client every time anew is time consuming and also redundant. Let's create one static client for the engine once the integration rule is created the first time, that can be reused for all methods.
- We use two different clients for the engine request: the apache http client and the jax.rs client. We should use only one of them.