This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit bbceda0f1666e58293a71d8b17441e7faa190ea5 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Apr 22 12:25:26 2020 +0200 Camel-AWS2-*: Fixed examples for pojoRequest --- components/camel-aws2-ec2/src/main/docs/aws2-ec2-component.adoc | 2 +- components/camel-aws2-ecs/src/main/docs/aws2-ecs-component.adoc | 2 +- components/camel-aws2-eks/src/main/docs/aws2-eks-component.adoc | 2 +- components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/camel-aws2-ec2/src/main/docs/aws2-ec2-component.adoc b/components/camel-aws2-ec2/src/main/docs/aws2-ec2-component.adoc index f651fd3..05f478d 100644 --- a/components/camel-aws2-ec2/src/main/docs/aws2-ec2-component.adoc +++ b/components/camel-aws2-ec2/src/main/docs/aws2-ec2-component.adoc @@ -186,7 +186,7 @@ In AWS EC2 there are multiple operations you can submit, as an example for Creat ------------------------------------------------------------------------------------------------------ from("direct:start") .setBody(RunInstancesRequest.builder().imageId("test-1").instanceType(InstanceType.T2_MICRO).build()) - .to("aws2-ec2://TestDomain?accessKey=xxxx&secretKey=xxxx&operation=createAndRunInstances"); + .to("aws2-ec2://TestDomain?accessKey=xxxx&secretKey=xxxx&operation=createAndRunInstances&pojoRequest=true"); ------------------------------------------------------------------------------------------------------ In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. diff --git a/components/camel-aws2-ecs/src/main/docs/aws2-ecs-component.adoc b/components/camel-aws2-ecs/src/main/docs/aws2-ecs-component.adoc index 43c157c..e9ea272 100644 --- a/components/camel-aws2-ecs/src/main/docs/aws2-ecs-component.adoc +++ b/components/camel-aws2-ecs/src/main/docs/aws2-ecs-component.adoc @@ -163,7 +163,7 @@ In AWS ECS there are multiple operations you can submit, as an example for List ------------------------------------------------------------------------------------------------------ from("direct:start") .setBody(ListClustersRequest.builder().maxResults(10).build()) - .to("aws2-ecs://test?ecsClient=#amazonEcsClient&operation=listClusters") + .to("aws2-ecs://test?ecsClient=#amazonEcsClient&operation=listClusters&pojoRequest=true") ------------------------------------------------------------------------------------------------------ In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. diff --git a/components/camel-aws2-eks/src/main/docs/aws2-eks-component.adoc b/components/camel-aws2-eks/src/main/docs/aws2-eks-component.adoc index 6b01583..a59b3b6 100644 --- a/components/camel-aws2-eks/src/main/docs/aws2-eks-component.adoc +++ b/components/camel-aws2-eks/src/main/docs/aws2-eks-component.adoc @@ -171,7 +171,7 @@ In AWS EKS there are multiple operations you can submit, as an example for List ------------------------------------------------------------------------------------------------------ from("direct:start") .setBody(ListClustersRequest.builder().maxResults(12).build()) - .to("aws2-eks://test?eksClient=#amazonEksClient&operation=listClusters") + .to("aws2-eks://test?eksClient=#amazonEksClient&operation=listClusters&pojoRequest=true") ------------------------------------------------------------------------------------------------------ In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation. diff --git a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc index 7029db4..c52e9ae 100644 --- a/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc +++ b/components/camel-aws2-iam/src/main/docs/aws2-iam-component.adoc @@ -180,7 +180,7 @@ In AWS IAM there are multiple operations you can submit, as an example for Creat ------------------------------------------------------------------------------------------------------ from("direct:createUser") .setBody(CreateUserRequest.builder().userName("camel").build()) - .to("aws-iam://test?iamClient=#amazonIAMClient&operation=createUser") + .to("aws-iam://test?iamClient=#amazonIAMClient&operation=createUser&pojoRequest=true") ------------------------------------------------------------------------------------------------------ In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation.