Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20971

camel - aws - S3 getObject consumer does not accept dynamic keyname

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.6.0
    • 4.8.0
    • camel-aws
    • None
    • Camel 4.6.0

      Localstack 3.0.2

    • Unknown

    Description

      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.  

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            markwimpory Mark Wimpory
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment