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/07/27 09:02:00 UTC

[jira] [Created] (CAMEL-24263) camel-aws2-sts: throw when pojoRequest=true and the body is the wrong type

Andrea Cosentino created CAMEL-24263:
----------------------------------------

             Summary: camel-aws2-sts: throw when pojoRequest=true and the body is the wrong type
                 Key: CAMEL-24263
                 URL: https://issues.apache.org/jira/browse/CAMEL-24263
             Project: Camel
          Issue Type: Sub-task
          Components: camel-aws
            Reporter: Andrea Cosentino


Child of CAMEL-24261. STS2Producer has 3 pojo-mode branches (assumeRole, getSessionToken, getFederationToken) that silently no-op when {{pojoRequest=true}} and the body is not the expected request type. Add the missing else that throws {{IllegalArgumentException}} naming the required type, consistently with CAMEL-23462.

----
_Reported by Claude Code on behalf of acosentino._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)