You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/09/27 10:15:00 UTC
[jira] [Assigned] (CAMEL-17006) rest-dsl - clientRequestValidation
should report error 400 if json/xml binding and invalid payload
[ https://issues.apache.org/jira/browse/CAMEL-17006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-17006:
-----------------------------------
Assignee: Claus Ibsen
> rest-dsl - clientRequestValidation should report error 400 if json/xml binding and invalid payload
> --------------------------------------------------------------------------------------------------
>
> Key: CAMEL-17006
> URL: https://issues.apache.org/jira/browse/CAMEL-17006
> Project: Camel
> Issue Type: Improvement
> Components: camel-core, rest
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.12.0
>
>
> We can improve the client validation to auto detect if the input cannot be parsed and return a error 400
> Usually the Camel error handler such as onException would do this.
> But then the end user need to setup this.
> Reported on camel-quarkus
> https://github.com/apache/camel-quarkus/issues/3129
--
This message was sent by Atlassian Jira
(v8.3.4#803005)