You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2019/04/08 14:08:00 UTC

[jira] [Resolved] (CAMEL-12936) camel-aws should find and use AmazonS3 bean in Spring Context

     [ https://issues.apache.org/jira/browse/CAMEL-12936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Cosentino resolved CAMEL-12936.
--------------------------------------
    Resolution: Fixed

> camel-aws should find and use AmazonS3 bean in Spring Context
> -------------------------------------------------------------
>
>                 Key: CAMEL-12936
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12936
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws
>    Affects Versions: 2.22.1
>         Environment: Spring Boot 2.0.6
> AWS SDK 1.11.4xx
>  
>            Reporter: Eric Fenderbosch
>            Assignee: Andrea Cosentino
>            Priority: Minor
>             Fix For: 3.0.0-M3
>
>
> When using {{aws-s3:bucket-name-goes-here }} it is necessary to specify which bean in the Spring application context is used with the {{?amazonS3Client=#amazonS3Client }} query string parameter. If a single bean of this type exists in the Spring application context, then it shouldn't be necessary to specify the query string parameter.
> Furthermore, it should be looking for a bean of type {{AmazonS3}} (interface) instead of {{AmazonS3Client}} (concrete class).
>  I haven't looked at the other AWS Camel Components, but if they can also find a bean w/ the correct *interface* type in the Spring application context, then specifying the name as a query string parameter shouldn't be required.
> {{aws-kinesis}} should look for {{AmazonKinesis}} instead of {{AmazonKinesisClient}}, etc.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)