This is an automated email from the ASF dual-hosted git repository. bvahdat pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new ae1ebd2 fix typos ae1ebd2 is described below commit ae1ebd2881abc1dfe794190b13e0be6a494ffe53 Author: Babak Vahdat <bvah...@apache.org> AuthorDate: Thu Sep 26 13:58:50 2019 +0200 fix typos --- .../src/main/java/org/apache/camel/component/aws/s3/S3Endpoint.java | 2 +- components/readme.adoc | 2 +- .../apache/camel/builder/endpoint/dsl/S3EndpointBuilderFactory.java | 6 +++--- .../java/org/apache/camel/example/client/CamelClientEndpoint.java | 2 ++ .../camel/component/aws/s3/springboot/S3ComponentConfiguration.java | 4 ++-- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Endpoint.java b/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Endpoint.java index cce94c7..c3b0ef1 100644 --- a/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Endpoint.java +++ b/components/camel-aws-s3/src/main/java/org/apache/camel/component/aws/s3/S3Endpoint.java @@ -42,7 +42,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** - * The aws-s3 component is used for storing and retrieving objecct from Amazon + * The aws-s3 component is used for storing and retrieving object from Amazon * S3 Storage Service. */ @UriEndpoint(firstVersion = "2.8.0", scheme = "aws-s3", title = "AWS S3 Storage Service", syntax = "aws-s3://bucketNameOrArn", label = "cloud,file") diff --git a/components/readme.adoc b/components/readme.adoc index c5fe78a..2d2f946 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -107,7 +107,7 @@ Number of Components: 301 in 239 JAR artifacts (0 deprecated) `aws-msk:label` | 3.0 | The aws-kms is used for managing Amazon KMS | link:camel-aws-s3/src/main/docs/aws-s3-component.adoc[AWS S3 Storage Service] (camel-aws-s3) + -`aws-s3://bucketNameOrArn` | 2.8 | The aws-s3 component is used for storing and retrieving objecct from Amazon S3 Storage Service. +`aws-s3://bucketNameOrArn` | 2.8 | The aws-s3 component is used for storing and retrieving object from Amazon S3 Storage Service. | link:camel-aws-ses/src/main/docs/aws-ses-component.adoc[AWS Simple Email Service] (camel-aws-ses) + `aws-ses:from` | 2.9 | The aws-ses component is used for sending emails with Amazon's SES service. diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/S3EndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/S3EndpointBuilderFactory.java index e5e7c17..6599281 100644 --- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/S3EndpointBuilderFactory.java +++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/S3EndpointBuilderFactory.java @@ -29,8 +29,8 @@ import org.apache.camel.spi.ExceptionHandler; import org.apache.camel.spi.PollingConsumerPollStrategy; /** - * The aws-s3 component is used for storing and retrieving objecct from Amazon - * S3 Storage Service. + * The aws-s3 component is used for storing and retrieving object from Amazon S3 + * Storage Service. * * Generated by camel-package-maven-plugin - do not edit this file! */ @@ -2201,7 +2201,7 @@ public interface S3EndpointBuilderFactory { } /** * AWS S3 Storage Service (camel-aws-s3) - * The aws-s3 component is used for storing and retrieving objecct from + * The aws-s3 component is used for storing and retrieving object from * Amazon S3 Storage Service. * * Category: cloud,file diff --git a/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/client/CamelClientEndpoint.java b/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/client/CamelClientEndpoint.java index 7240a02..d80d632 100644 --- a/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/client/CamelClientEndpoint.java +++ b/examples/camel-example-spring-jms/src/main/java/org/apache/camel/example/client/CamelClientEndpoint.java @@ -68,10 +68,12 @@ public final class CamelClientEndpoint { // let the producer process the exchange where it does all the work in this oneline of code LOG.info("Invoking the multiply with 11"); + producer.process(exchange); // get the response from the out body and cast it to an integer int response = exchange.getMessage().getBody(int.class); + LOG.info("... the result is: {}", response); // stopping the JMS producer has the side effect of the "ReplyTo Queue" being properly diff --git a/platforms/spring-boot/components-starter/camel-aws-s3-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java b/platforms/spring-boot/components-starter/camel-aws-s3-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java index 966929f..2d22879 100644 --- a/platforms/spring-boot/components-starter/camel-aws-s3-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java +++ b/platforms/spring-boot/components-starter/camel-aws-s3-starter/src/main/java/org/apache/camel/component/aws/s3/springboot/S3ComponentConfiguration.java @@ -24,8 +24,8 @@ import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon; import org.springframework.boot.context.properties.ConfigurationProperties; /** - * The aws-s3 component is used for storing and retrieving objecct from Amazon - * S3 Storage Service. + * The aws-s3 component is used for storing and retrieving object from Amazon S3 + * Storage Service. * * Generated by camel-package-maven-plugin - do not edit this file! */