You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/12/14 20:08:45 UTC

[camel] branch camel-3.18.x updated: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch camel-3.18.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.18.x by this push:
     new f4755e296c5 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904)
f4755e296c5 is described below

commit f4755e296c5509c121451e938f245c941510a409
Author: Denis-D-M <55...@users.noreply.github.com>
AuthorDate: Thu Dec 15 00:08:04 2022 +0400

    CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904)
    
    Co-authored-by: Denis Mishin <de...@humanforce.com>
---
 .../src/main/java/org/apache/camel/component/http/HttpComponent.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
index 3b11c4dc457..5c970d6b7c0 100644
--- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
+++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java
@@ -468,7 +468,7 @@ public class HttpComponent extends HttpCommonComponent implements RestProducerFa
             clientBuilder.disableRedirectHandling();
         }
         if (automaticRetriesDisabled) {
-            clientBuilder.disableRedirectHandling();
+            clientBuilder.disableAutomaticRetries();
         }
         if (contentCompressionDisabled) {
             clientBuilder.disableContentCompression();