[
https://issues.apache.org/jira/browse/CAMEL-24329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101432#comment-18101432
]
Andrea Cosentino commented on CAMEL-24329:
------------------------------------------
Fixed on main via PR https://github.com/apache/camel/pull/25311 — the producer
now throws a clear exception when pojoRequest=true and the body is not the
expected request type. Main-only (4.22.0).
_Claude Code on behalf of Andrea Cosentino (@oscerd)._
> camel-aws2-s3: throw when pojoRequest=true and the body is the wrong type
> -------------------------------------------------------------------------
>
> Key: CAMEL-24329
> URL: https://issues.apache.org/jira/browse/CAMEL-24329
> 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. AWS2S3Producer's 22 pojo-capable operations silently
> no-op when {{pojoRequest=true}} and the body is not the expected request
> type. 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)