[
https://issues.apache.org/jira/browse/CAMEL-16530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325506#comment-17325506
]
Andrea Cosentino commented on CAMEL-16530:
------------------------------------------
The autowired client is a client set in the registry. In that case, is up to
you to set the proxy setting in the client instance you're going to use in the
route.
If you want to use an autowired client and then specify the proxy host and
proxy port it won't work, because camel component will pick up the client
instance from the registry and ignore the configuration part.
By the way I'll check.
> AWS2-S3 component does not recognize or use proxy-host and proxy-port from
> application.properties
> -------------------------------------------------------------------------------------------------
>
> Key: CAMEL-16530
> URL: https://issues.apache.org/jira/browse/CAMEL-16530
> Project: Camel
> Issue Type: Bug
> Components: camel-aws2-s3
> Affects Versions: 3.9.0
> Reporter: Gustavo Maurizio
> Assignee: Andrea Cosentino
> Priority: Major
>
> when attempting to use AWS2 S3 resources via a proxy host and port, the
> configuration specified in the application.properties file is ignored. You
> can enter anything there as
> camel.component.aws2-s3.proxy-host=url.of.my.proxy
> camel.component.aws2-s3.proxy-port=8099
>
> but it is ignored and starting the route fails with SSL error
> [ERROR] Failed to execute goal org.apache.camel:camel-maven-plugin:3.9.0:run
> (default-cli) on project camel39-main: null: MojoExecutionException:
> InvocationTargetException: Failed to start route route1 because of null:
> Unable to execute HTTP request: Connection reset -> [Help 1]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)