Closed ThorbenLindhauer closed 10 months ago
An additional option before we expose the internal HTTP client we use: Switch to the new Java HTTP Client and move the language level to Java 11.
Benefits:
Drawbacks:
HttpRequest.newBuilder(HttpRequest request)
.Note to DRI: @yanavasileva is interested in doing the review for this.
Don't forget to adjust the version labels.
Run the Order Handling example, customize the HTTP Client using the new feature (add timeouts, proxies etc.) and verify that the client was initialized accordingly.
This issue was imported from JIRA:
| Field | Value | | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | JIRA Link | [CAM-12233](https://jira.camunda.com/browse/CAM-12233) | | Reporter | NYBzR2xWhat is this name?
This pseudonym name was generated based on the user name in JIRA to protect the personal data of our JIRA users. You can use this identifier to search for issues by the same reporter.User Story (Required on creation):
I can configure a socket timeout at the external task's httpClient, so once the timeout is reached an exception gets thrown and therefore the thread gets freed and the external task client continues operation (while logging the corresponding exception).
Functional Requirements (Required before implementation):
Technical Requirements (Required before implementation):
Limitations of Scope (Optional):
Hints (Optional):
Links
Breakdown
Dev2QA handover