davsclaus commented on code in PR #14274:
URL: https://github.com/apache/camel/pull/14274#discussion_r1618649178
##########
components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Endpoint.java:
##########
@@ -64,6 +63,30 @@ public AWS2S3Endpoint(String uri, Component comp,
AWS2S3Configuration configurat
this.configuration = configuration;
}
+ @Override
+ public String getServiceUrl() {
+ if (!configuration.isOverrideEndpoint()) {
+ return configuration.getBucketName() + "." + getServiceProtocol()
+ ".amazonaws.com";
Review Comment:
https://<bucket>.<region>.s3.amazonaws.com/<key>
##########
components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3Endpoint.java:
##########
@@ -64,6 +63,30 @@ public AWS2S3Endpoint(String uri, Component comp,
AWS2S3Configuration configurat
this.configuration = configuration;
}
+ @Override
+ public String getServiceUrl() {
+ if (!configuration.isOverrideEndpoint()) {
+ return configuration.getBucketName() + "." + getServiceProtocol()
+ ".amazonaws.com";
Review Comment:
```
https://<bucket>.<region>.s3.amazonaws.com/<key>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]