Claus Ibsen created CAMEL-26502:
-----------------------------------

             Summary: 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
             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