You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by megachucky <me...@googlemail.com> on 2012/05/23 18:33:43 UTC
(Minor) Errors in jClouds component documentation?
While creating a missing unit test for Java DSL
(https://issues.apache.org/jira/browse/CAMEL-5302), I think I found two
errors in the documentation (http://camel.apache.org/jclouds.html):
Both are in Example 3: Consuming a blob
1) from("jclouds:blobstore:aws-s3" +
"&container=mycontainer")
.to("direct:next");
=> instead of "&" you need a "?", right?
2) <route>
<from
uri="jclouds:blobstore:aws-s3?operation=PUT&container=mycontainer&blobName=myblob"/>
<to uri="direct:next"/>
</route>
Why is the operation PUT used here? Does this make any sense at all? If you
consume, shouldn't it be GET?
If I am right, I will fix it in the documentation... But maybe I am wrong?
-----
Best regards,
Kai Wähner
Twitter: @KaiWaehner
Email: kontakt@kai-waehner.de
Blog: www.kai-waehner.de/blog
--
View this message in context: http://camel.465427.n5.nabble.com/Minor-Errors-in-jClouds-component-documentation-tp5713411.html
Sent from the Camel Development mailing list archive at Nabble.com.
Re: (Minor) Errors in jClouds component documentation?
Posted by Christian Müller <ch...@gmail.com>.
I think you are right.
+1 for the documentation change.
Best,
Christian
Sent from a mobile device
Am 23.05.2012 18:34 schrieb "megachucky" <me...@googlemail.com>:
> While creating a missing unit test for Java DSL
> (https://issues.apache.org/jira/browse/CAMEL-5302), I think I found two
> errors in the documentation (http://camel.apache.org/jclouds.html):
>
> Both are in Example 3: Consuming a blob
>
> 1) from("jclouds:blobstore:aws-s3" +
> "&container=mycontainer")
> .to("direct:next");
>
> => instead of "&" you need a "?", right?
>
>
> 2) <route>
> <from
>
> uri="jclouds:blobstore:aws-s3?operation=PUT&container=mycontainer&blobName=myblob"/>
> <to uri="direct:next"/>
> </route>
>
> Why is the operation PUT used here? Does this make any sense at all? If you
> consume, shouldn't it be GET?
>
>
>
> If I am right, I will fix it in the documentation... But maybe I am wrong?
>
>
>
> -----
> Best regards,
> Kai Wähner
>
> Twitter: @KaiWaehner
> Email: kontakt@kai-waehner.de
> Blog: www.kai-waehner.de/blog
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Minor-Errors-in-jClouds-component-documentation-tp5713411.html
> Sent from the Camel Development mailing list archive at Nabble.com.
>