170.4.3. 示例 3:使用 blob
本例将使用指定容器下的所有 blob。生成的交换将包含 blob 的有效负载,作为正文。
from("jclouds:blobstore:aws-s3" +
"?container=mycontainer")
.to("direct:next");您可以使用 xml 实现相同的目标,如下所示。
<route>
<from uri="jclouds:blobstore:aws-s3?operation=GET&container=mycontainer&blobName=myblob"/>
<to uri="direct:next"/>
</route>jclouds:compute:aws-ec2?operation=CamelJcloudsCreateNode&imageId=AMI_XXXXX&locationId=eu-west-1&group=mygroup