I am using Java DSL. I plan on using jetty component to expose a HTTP endpoint. Based on the request URI, I need to start the aws-s3 producer to download a file and return it as a response to the HTTP request. I can write a processor that gets the Http Exchange to get URI but how can I start aws-s3 component on demand to download the AWS-S3 file and return it as response to http request? Note that the S3 url is dynamic and changes based on jetty request URI.
Thanks for any suggestions, Shreyas