[ 
https://issues.apache.org/jira/browse/CAMEL-16530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325324#comment-17325324
 ] 

Gustavo Maurizio commented on CAMEL-16530:
------------------------------------------

application.properties from resources
{code:java}

# properties used in the route
bucketName=bucketnameedited
camel.component.aws2-s3.useDefaultCredentialsProvider=true
# camel.component.aws2-s3.trustAllCertificates=true
camel.component.aws2-s3.proxy-host=myproxy.com
camel.component.aws2-s3.proxy-port=8099

{code}
route below (from java main with routeloader defined in pom.xml. Dynamically 
loaded
{code:java}
<routes xmlns="http://camel.apache.org/schema/spring";> 
  <route> <from uri="aws2-s3://{{bucketName}}"/> 
  <log message="FILE STORED ${headers}"/> </route> 
</routes>
{code}

> 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)

Reply via email to