You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/01/16 10:00:09 UTC

[camel] 02/03: Camel-Aws2-Translate: Updated docs

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 d080a118c165f4f5f5f92c2e92a21455f57be88b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Thu Jan 16 10:53:58 2020 +0100

    Camel-Aws2-Translate: Updated docs
---
 .../src/main/docs/aws2-translate-component.adoc               | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

diff --git a/components/camel-aws2-translate/src/main/docs/aws2-translate-component.adoc b/components/camel-aws2-translate/src/main/docs/aws2-translate-component.adoc
index 4d43d3a..66f5deb 100644
--- a/components/camel-aws2-translate/src/main/docs/aws2-translate-component.adoc
+++ b/components/camel-aws2-translate/src/main/docs/aws2-translate-component.adoc
@@ -3,11 +3,6 @@
 
 *Since Camel 3.1*
 
-*Since Camel 3.1*
-
-
-*Since Camel 3.1*
-
 
 // HEADER START
 *Only producer is supported*
@@ -131,9 +126,9 @@ Camel-AWS Translate component provides the following operation on the producer s
 
 - translateText
 
-== Automatic detection of AmazonTranslate client in registry
+== Automatic detection of TranslateClient client in registry
 
-The component is capable of detecting the presence of an AmazonTranslate bean into the registry.
+The component is capable of detecting the presence of an TranslateClient bean into the registry.
 If it's the only instance of that type it will be used as client and you won't have to define it as uri parameter.
 This may be really useful for smarter configuration of the endpoint.
 
@@ -144,7 +139,7 @@ from("direct:start")
   .setHeader(TranslateConstants.SOURCE_LANGUAGE, TranslateLanguageEnum.ITALIAN)
   .setHeader(TranslateConstants.TARGET_LANGUAGE, TranslateLanguageEnum.GERMAN)
   .setBody("Ciao")
-  .to("aws-translate://test?translateClient=#amazonTranslateClient&operation=translateText");
+  .to("aws2-translate://test?translateClient=#amazonTranslateClient&operation=translateText");
 ------------------------------------------------------------------------------------------------------
 
 As result you'll get an exchange containing the translated text.