This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new f99c22e5355 CAMEL-16262 fixed automaticRetriesDisabled option setting
in http component (#8904)
f99c22e5355 is described below
commit f99c22e53559abe20f60ef37b663cd672fe95add
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 10b43c79bdb..69a5f071fcb 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
@@ -476,7 +476,7 @@ public class HttpComponent extends HttpCommonComponent
implements RestProducerFa
clientBuilder.disableRedirectHandling();
}
if (automaticRetriesDisabled) {
- clientBuilder.disableRedirectHandling();
+ clientBuilder.disableAutomaticRetries();
}
if (contentCompressionDisabled) {
clientBuilder.disableContentCompression();