You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Knut-Håvard Aksnes <kh...@gmail.com> on 2015/01/16 12:28:51 UTC

How to use AWS-S3 producer?

I have a use case that I suspect is quite common:
My route input contains a key to S3. What I need out is the corresponding
data.
Based on the documentation it is difficult to understand how to do it as
there doesn't seem to be any operation header or argument to the S3
producer.



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-use-AWS-S3-producer-tp5761791.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How to use AWS-S3 producer?

Posted by Claus Ibsen <cl...@gmail.com>.
Hi

When the doc is not sufficient it can be a good idea to check the unit
tests of the component, as there may be some samples you can use.

Not sure if we have so many for the aws components as they would
require being mocked for unit testing. But take a look.

On Fri, Jan 16, 2015 at 12:53 PM, Knut-Håvard Aksnes <kh...@gmail.com> wrote:
> It is for sure possible to do this using some of the other components (http
> rest clients etc.) , as reading from S3 isn't particularly hard, but this
> still isn't ideal.
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/How-to-use-AWS-S3-producer-tp5761791p5761793.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cibsen@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Re: How to use AWS-S3 producer?

Posted by Knut-Håvard Aksnes <kh...@gmail.com>.
It is for sure possible to do this using some of the other components (http
rest clients etc.) , as reading from S3 isn't particularly hard, but this
still isn't ideal.



--
View this message in context: http://camel.465427.n5.nabble.com/How-to-use-AWS-S3-producer-tp5761791p5761793.html
Sent from the Camel - Users mailing list archive at Nabble.com.