This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 4383169aacfe0aa785c8cad294dc438d8530cd0a Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jul 9 15:44:37 2020 +0200 CAMEL-15280 - Camel-AWS2-*: Add the ability to trust all certificates when overidding the endpoint - SQS --- .../apache/camel/component/aws2/sqs/Sqs2Configuration.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java b/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java index 2dac52c..feab610 100644 --- a/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java +++ b/components/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2Configuration.java @@ -47,6 +47,8 @@ public class Sqs2Configuration implements Cloneable { private Integer proxyPort; @UriParam(defaultValue = "true") private boolean autoCreateQueue = true; + @UriParam(defaultValue = "false") + private boolean trustAllCertificates; // consumer properties @UriParam(label = "consumer", defaultValue = "true") @@ -558,6 +560,17 @@ public class Sqs2Configuration implements Cloneable { public void setProtocol(String protocol) { this.protocol = protocol; } + + public boolean isTrustAllCertificates() { + return trustAllCertificates; + } + + /** + * If we want to trust all certificates in case of overriding the endpoint + */ + public void setTrustAllCertificates(boolean trustAllCertificates) { + this.trustAllCertificates = trustAllCertificates; + } // ************************************************* //