This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 9f55896b624ef073cea108126373966b26710eeb Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Fri May 17 08:30:29 2019 +0200 Regen --- .../camel-soroush/src/main/docs/soroush-component.adoc | 4 +++- components/readme.adoc | 4 ++-- docs/components/modules/ROOT/nav.adoc | 2 +- docs/components/modules/ROOT/pages/soroush-component.adoc | 15 +++++++++------ 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/components/camel-soroush/src/main/docs/soroush-component.adoc b/components/camel-soroush/src/main/docs/soroush-component.adoc index 4fa1f18..09cb21a 100644 --- a/components/camel-soroush/src/main/docs/soroush-component.adoc +++ b/components/camel-soroush/src/main/docs/soroush-component.adoc @@ -1,6 +1,8 @@ +[[soroush-component]] == Soroush Component *Available as of Camel version 3.0* + *Available as of Camel version 3.0* @@ -275,4 +277,4 @@ One way to handle these exceptions is by using `onException` route definition: onException(CongestionException.class).log("Failed to processing ${id}") ------------- -_Developed and supported by https://www.mohaymen.ir[Mohaymen ICT]_ +_Developed and supported by https://www.mohaymen.ir[Mohaymen ICT]_ \ No newline at end of file diff --git a/components/readme.adoc b/components/readme.adoc index 927e597..0a7386d 100644 --- a/components/readme.adoc +++ b/components/readme.adoc @@ -760,8 +760,8 @@ Number of Components: 295 in 232 JAR artifacts (0 deprecated) | link:camel-solr/src/main/docs/solr-component.adoc[Solr] (camel-solr) + `solr:url` | 2.9 | The solr component allows you to interface with an Apache Lucene Solr server. -| link:camel-soroush/src/main/docs/soroush-component.adoc[SoroushBot] (camel-soroush) + -`soroush:<endpoint>[/authorizationToken][?options]` | 3.0 | this class represents Soroush Endpoint, it is also a bean containing the configuration of the Endpoint +| link:camel-soroush/src/main/docs/soroush-component.adoc[Soroush] (camel-soroush) + +`soroush:endpoint/authorizationToken` | 3.0 | To integrate with the Soroush chat bot. | link:camel-spark-rest/src/main/docs/spark-rest-component.adoc[Spark Rest] (camel-spark-rest) + `spark-rest:verb:path` | 2.14 | The spark-rest component is used for hosting REST services which has been defined using Camel rest-dsl. diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc index bb597ee..fb8a7cb 100644 --- a/docs/components/modules/ROOT/nav.adoc +++ b/docs/components/modules/ROOT/nav.adoc @@ -290,7 +290,7 @@ * xref:snmp-component.adoc[SNMP Component] * xref:soapjaxb-dataformat.adoc[SOAP DataFormat] * xref:solr-component.adoc[Solr Component] -* xref:soroush-component.adoc[SoroushBot Component] +* xref:soroush-component.adoc[Soroush Component] * xref:spark-rest-component.adoc[Spark Rest Component] * xref:spark-component.adoc[Apache Spark Component] * xref:splunk-component.adoc[Splunk Component] diff --git a/docs/components/modules/ROOT/pages/soroush-component.adoc b/docs/components/modules/ROOT/pages/soroush-component.adoc index a3e4078..09cb21a 100644 --- a/docs/components/modules/ROOT/pages/soroush-component.adoc +++ b/docs/components/modules/ROOT/pages/soroush-component.adoc @@ -1,8 +1,11 @@ [[soroush-component]] -== SoroushBot Component +== Soroush Component *Available as of Camel version 3.0* +*Available as of Camel version 3.0* + + The *Soroush* component provides access to the https://soroush-app.ir/developer.html[Soroush Bot API]. It allows a Camel-based application to send and receive messages by acting as a Bot, i.e. participating in direct conversation with normal users and send and receive message and files @@ -51,7 +54,7 @@ and store the urls in the message (`SoroushMessage.fileUrl`, `SoroushMessage.thu // component options: START -The SoroushBot component supports 2 options, which are listed below. +The Soroush component supports 2 options, which are listed below. @@ -63,10 +66,10 @@ The SoroushBot component supports 2 options, which are listed below. |=== // component options: END // endpoint options: START -The SoroushBot endpoint is configured using URI syntax: +The Soroush endpoint is configured using URI syntax: ---- -soroush:<endpoint>[/authorizationToken][?options] +soroush:endpoint/authorizationToken ---- with the following path and query parameters: @@ -77,7 +80,7 @@ with the following path and query parameters: [width="100%",cols="2,5,^1,2",options="header"] |=== | Name | Description | Default | Type -| *endpoint* | *Required* The endpoint type. it support getMessage as consumer and sendMessage,uploadFile,downloadFile as producer | | Endpoint +| *endpoint* | *Required* The endpoint type. Support getMessage as consumer and sendMessage,uploadFile,downloadFile as producer | | Endpoint |=== @@ -274,4 +277,4 @@ One way to handle these exceptions is by using `onException` route definition: onException(CongestionException.class).log("Failed to processing ${id}") ------------- -_Developed and supported by https://www.mohaymen.ir[Mohaymen ICT]_ +_Developed and supported by https://www.mohaymen.ir[Mohaymen ICT]_ \ No newline at end of file