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 2026/09/02 16:57:00 UTC
[jira] [Updated] (CAMEL-24594) RestBindingAdvice response marshalling failure is silently swallowed
[ https://issues.apache.org/jira/browse/CAMEL-24594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-24594:
--------------------------------
Fix Version/s: 4.23.0
> RestBindingAdvice response marshalling failure is silently swallowed
> --------------------------------------------------------------------
>
> Key: CAMEL-24594
> URL: https://issues.apache.org/jira/browse/CAMEL-24594
> Project: Camel
> Issue Type: Bug
> Reporter: James Netherton
> Priority: Minor
> Fix For: 4.23.0
>
>
> With bindingMode(json) on the REST DSL, if Jackson cannot marshal the response body, the caller receives HTTP 200 with an empty body and Content-Type: text/plain; charset=utf-8. No error is logged, no exception reaches the route's error handler, and the status code stays 200.
> The silent 200 is the actual problem: a serialization failure is indistinguishable from a successful empty response, so a client (or a browser app) just sees "no data" and everything downstream fails in confusing ways. We lost a full day to this after a platform upgrade.
> More details with reproducer can be found here:
> https://github.com/apache/camel-quarkus/issues/9077
--
This message was sent by Atlassian Jira
(v8.20.10#820010)