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 2da01ffeedb467c918bf0d056b96f9f068707ef5 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Wed Apr 22 10:55:07 2020 +0200 Regen docs --- docs/components/modules/ROOT/pages/aws2-translate-component.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc index 36ba635..f04551a 100644 --- a/docs/components/modules/ROOT/pages/aws2-translate-component.adoc +++ b/docs/components/modules/ROOT/pages/aws2-translate-component.adoc @@ -172,7 +172,7 @@ In AWS Translate the only operation available is TranslateText so you can do som from("direct:start") .setBody(TranslateTextRequest.builder().sourceLanguageCode(Translate2LanguageEnum.ITALIAN.toString()) .targetLanguageCode(Translate2LanguageEnum.GERMAN.toString()).text("Ciao").build()) - .to("aws2-translate://test?translateClient=#amazonTranslateClient&operation=translateText"); + .to("aws2-translate://test?translateClient=#amazonTranslateClient&operation=translateText&pojoRequest=true"); ------------------------------------------------------------------------------------------------------ In this way you'll pass the request directly without the need of passing headers and options specifically related to this operation.