camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From megachucky <megachu...@googlemail.com>
Subject (Minor) Errors in jClouds component documentation?
Date Wed, 23 May 2012 16:33:43 GMT
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&auml;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.

Mime
View raw message