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

Claus Ibsen commented on CAMEL-14598:
-------------------------------------

btw I thought today you can also as a workaround for 3.1, define a bean via

camel.beans.foo=#class:xxxxx
camel.beans.foo.access-key=aaa
camel.beans.foo.secret-key=aaa

Where foo is the bean id, and the AWS components ought to auto-detect it. Just 
that it requires you to know the FQN classname and be able to set the options 
via getter/setter on it.

> Component Properties aliases
> ----------------------------
>
>                 Key: CAMEL-14598
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14598
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core, camel-main
>            Reporter: Luca Burgazzoli
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 3.2.0
>
>
> For some components such as those related to AWS service, each component has 
> its own authentication configuration option so in case you want to use 
> multiple services in the same integration, then you'll end up having to 
> repeat them, like:
> {code}
> # S3
> camel.component.aws-s3.access-key={{env:AWS_ACCESS_KEY}}
> camel.component.aws-s3.secret-key={{env:AWS_SECRET_KEY}}
> camel.component.aws-s3.region={{env:AWS_REGION}}
> # SNS
> camel.component.aws-sns.access-key={{env:AWS_ACCESS_KEY}}
> camel.component.aws-sns.secret-key={{env:AWS_SECRET_KEY}}
> camel.component.aws-sns.region={{env:AWS_REGION}}
> {code}
> So I think it would be nice to have an option to define component properties 
> aliases so we can rewrite the configuration above like:
> {code}
> aws.access-key={{env:AWS_ACCESS_KEY}}
> aws.secret-key={{env:AWS_SECRET_KEY}}
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to