Mark Wimpory created CAMEL-20971:
------------------------------------

             Summary: camel - aws - S3 getObject consumer does not accept 
dynamic keyname
                 Key: CAMEL-20971
                 URL: https://issues.apache.org/jira/browse/CAMEL-20971
             Project: Camel
          Issue Type: Bug
          Components: camel-aws
    Affects Versions: 4.6.0
         Environment: Camel 4.6.0

Localstack 3.0.2
            Reporter: Mark Wimpory


I have spent some time trying to build a route that will read a message from 
SQS and then based on the content of the message read a file from S3.  This is 
a fairly typical triggering mechanism for S3 and we use it a lot.  So when a 
file arrives in S3 we trigger an SQS message that will process said file.

With the keyname as a constant this works fine and I can retrieve a stream from 
S3.  However whenever I switch the keyname to a variable value I get a 'key not 
found' error.

I will attach a route class as a reproducer.  Its worth noting that I have 
tried several approaches which will be commented out in the reproducer.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to