This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.14.x by this push:
new c63013c8a30 CAMEL-16262 fixed automaticRetriesDisabled option setting
in http component (#8904)
c63013c8a30 is described below
commit c63013c8a30a402cbc54c7062f3ea0084dfbef03
Author: Denis-D-M <[email protected]>
AuthorDate: Thu Dec 15 00:08:04 2022 +0400
CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
(#8904)
Co-authored-by: Denis Mishin <[email protected]>
---
.../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 e547b9b5cad..0e2c3096e0d 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
@@ -460,7 +460,7 @@ public class HttpComponent extends HttpCommonComponent
implements RestProducerFa
clientBuilder.disableRedirectHandling();
}
if (automaticRetriesDisabled) {
- clientBuilder.disableRedirectHandling();
+ clientBuilder.disableAutomaticRetries();
}
if (contentCompressionDisabled) {
clientBuilder.disableContentCompression();