You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/08/03 16:22:00 UTC

[jira] [Commented] (CAMEL-24302) camel-aws2-timestream: throw when pojoRequest=true and the body is the wrong type

    [ https://issues.apache.org/jira/browse/CAMEL-24302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101431#comment-18101431 ] 

Andrea Cosentino commented on CAMEL-24302:
------------------------------------------

Merged to main via https://github.com/apache/camel/pull/25220.

_Claude Code on behalf of acosentino_

> camel-aws2-timestream: throw when pojoRequest=true and the body is the wrong type
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-24302
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24302
>             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. Both timestream producers silently no-op when {{pojoRequest=true}} and the body is not the expected request type: Timestream2WriteProducer (16 operations) and Timestream2QueryProducer (10 operations). 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)