Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 899D1200D03 for ; Sat, 9 Sep 2017 09:31:42 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 882BF1609DA; Sat, 9 Sep 2017 07:31:42 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C74111609CF for ; Sat, 9 Sep 2017 09:31:41 +0200 (CEST) Received: (qmail 57493 invoked by uid 500); 9 Sep 2017 07:31:40 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 57475 invoked by uid 99); 9 Sep 2017 07:31:40 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Sep 2017 07:31:40 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id A4D28F5523; Sat, 9 Sep 2017 07:31:39 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: davsclaus@apache.org To: commits@camel.apache.org Date: Sat, 09 Sep 2017 07:31:41 -0000 Message-Id: <1cf6bffc1aa246e7816092f3936787da@git.apache.org> In-Reply-To: <0ce5de4bd4e9491d83fb4671e68657ab@git.apache.org> References: <0ce5de4bd4e9491d83fb4671e68657ab@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [3/3] camel git commit: CAMEL: Corrected few typos archived-at: Sat, 09 Sep 2017 07:31:42 -0000 CAMEL: Corrected few typos Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/8df7d642 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8df7d642 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8df7d642 Branch: refs/heads/master Commit: 8df7d642ef70043fed321db7a3389bb6c390e122 Parents: 460fec4 Author: aldettinger Authored: Sat Sep 9 01:05:59 2017 +0200 Committer: Claus Ibsen Committed: Sat Sep 9 09:30:43 2017 +0200 ---------------------------------------------------------------------- .../src/main/docs/connector-component.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/8df7d642/connectors/camel-connector/src/main/docs/connector-component.adoc ---------------------------------------------------------------------- diff --git a/connectors/camel-connector/src/main/docs/connector-component.adoc b/connectors/camel-connector/src/main/docs/connector-component.adoc index 762d33d..de55227 100644 --- a/connectors/camel-connector/src/main/docs/connector-component.adoc +++ b/connectors/camel-connector/src/main/docs/connector-component.adoc @@ -37,7 +37,7 @@ You can use the Maven archetype `camel-archetype-connector` to create a new conn some values as input to select the existing Camel component to use as base, and then in addition the name and title of the connector, and a few other values as well. -You can also copy the existing examples from the `connectors` directory where the following connectors examples is provided: +You can also copy the existing examples from the `connectors` directory where the following connectors examples are provided: - `foo-connector` - A connector that is based on the Timer component from `camel-core`. - `bar-connector` - A connector that is based on the 3rd party `beverage-component`. @@ -112,15 +112,15 @@ And these following Maven plugins: ### Spring Boot compliant -A Camel connector works great with Spring Boot. If a connector has been configured to allow configuration on the component and/por endpoint level which is done in the `camel-connector.json` file, such as +A Camel connector works great with Spring Boot. If a connector has been configured to allow configuration on the component and/or endpoint level which is done in the `camel-connector.json` file, such as "componentOptions" : [ "consumerKey", "consumerSecret", "accessToken", "accessTokenSecret" ], "endpointOptions" : [ "keywords" ], Then the `camel-connector-maven-plugin` will be able to generate Spring Boot auto configuration for these options. -This allows users to essily configure these options if using Spring Boot with the connector. +This allows users to easily configure these options if using Spring Boot with the connector. -NOTE: There's no disctinction between component/endpoint options on spring-boot auto configuration side so all the options are flattered to a single namespace thus they appear as connector options and then the conenctor figures out where they should be applied. +NOTE: There's no distinction between component/endpoint options on spring-boot auto configuration side so all the options are flattered to a single namespace thus they appear as connector options and then the connector figures out where they should be applied. TIP: The options configured through spring-boot auto configuration classes can be overridden by standard endpoint options. @@ -190,8 +190,8 @@ You may need to instantiate multiple instance of the connector i.e. to use diffe camel.connector.twitter-search.configurations.tw-search2.keywords = apache-karaf ------------ -This would create two instances of the twitter-search connector each one configured with its own list o options. -You can no use the nre connector as standard components like: +This would create two instances of the twitter-search connector each one configured with its own list of options. +You can now use the new connectors as standard components like: [source,java] ------------ @@ -225,7 +225,7 @@ The following data types are in use: |========================================= For example to accept any incoming data type and output Java as `com.foo.MyCustomer` you would -configure the the `camel-connector.json` file: +configure the `camel-connector.json` file: "inputDataType": "any", "outputDataType": "java:com.foo.MyCustomer",