[
https://issues.apache.org/jira/browse/CAMEL-24264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18099456#comment-18099456
]
Andrea Cosentino commented on CAMEL-24264:
------------------------------------------
PR: https://github.com/apache/camel/pull/25158 (main only, per CAMEL-23462
precedent).
_Claude Code on behalf of acosentino_
> camel-aws2-translate: throw when pojoRequest=true and the body is the wrong
> type
> --------------------------------------------------------------------------------
>
> Key: CAMEL-24264
> URL: https://issues.apache.org/jira/browse/CAMEL-24264
> Project: Camel
> Issue Type: Sub-task
> Components: camel-aws
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.22.0
>
>
> Child of CAMEL-24261. Translate2Producer.translateText silently no-ops when
> {{pojoRequest=true}} and the body is not a {{TranslateTextRequest}}. Add the
> missing else that throws {{IllegalArgumentException}}, consistent with
> CAMEL-23462.
> ----
> _Reported by Claude Code on behalf of acosentino._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)