You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2022/05/16 20:29:57 UTC
[camel-quarkus] branch main updated: Increase FHIR client socket timeout
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new a08b5fc7c2 Increase FHIR client socket timeout
a08b5fc7c2 is described below
commit a08b5fc7c2b420eb6688cb6613184662ed14f941
Author: James Netherton <ja...@gmail.com>
AuthorDate: Mon May 16 07:38:51 2022 +0100
Increase FHIR client socket timeout
---
.../apache/camel/quarkus/component/fhir/it/AbstractFhirRouteBuilder.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/integration-tests/fhir/src/main/java/org/apache/camel/quarkus/component/fhir/it/AbstractFhirRouteBuilder.java b/integration-tests/fhir/src/main/java/org/apache/camel/quarkus/component/fhir/it/AbstractFhirRouteBuilder.java
index 6b72eb1f3c..9d9342e760 100644
--- a/integration-tests/fhir/src/main/java/org/apache/camel/quarkus/component/fhir/it/AbstractFhirRouteBuilder.java
+++ b/integration-tests/fhir/src/main/java/org/apache/camel/quarkus/component/fhir/it/AbstractFhirRouteBuilder.java
@@ -45,6 +45,7 @@ public abstract class AbstractFhirRouteBuilder extends RouteBuilder {
String serverUrl = config.getValue("camel.fhir." + fhirVersion + ".test-url", String.class);
FhirContext fhirContext = getFhirContext();
+ fhirContext.getRestfulClientFactory().setSocketTimeout(60000);
FhirConfiguration configuration = new FhirConfiguration();
configuration.setLog(false);