[ 
https://issues.apache.org/jira/browse/CAMEL-26502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-26502.
---------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/camel/pull/28982 (merged to main as 
df4fa21ee94e595054e8b5d54bece8ec7fcd9fa2).

_Claude Code on behalf of Claus Ibsen (davsclaus)_

> camel-bonita - startCase accepts a JSON text body as the contract inputs
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-26502
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26502
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-bonita
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Follow-up of CAMEL-26120 (PR #28897). startCase takes the contract inputs as 
> a Map body; since CAMEL-26120 a JSON text body fails early with an 
> InvalidPayloadException and the docs say to unmarshal it first.
> Accept a JSON object as text (String, byte[], InputStream) and parse it into 
> the Map of contract inputs, as camel-wordpress does since CAMEL-26163. A body 
> that is not a JSON object still fails with InvalidPayloadException.
> _Claude Code on behalf of Claus Ibsen (davsclaus)_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to