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 2022/03/18 11:37:00 UTC
[jira] [Resolved] (CAMEL-17824) camel-platform-http - Exchange exception causes always 500 error
[ https://issues.apache.org/jira/browse/CAMEL-17824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17824.
---------------------------------
Resolution: Fixed
> camel-platform-http - Exchange exception causes always 500 error
> ----------------------------------------------------------------
>
> Key: CAMEL-17824
> URL: https://issues.apache.org/jira/browse/CAMEL-17824
> Project: Camel
> Issue Type: Improvement
> Components: camel-platform-http-vertx
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.16.0
>
>
> The other HTTP components has logic that deals with exchange exception and writes a custom response code, and allow end users to control the http status code etc.
> Because vertx uses a ctx.fail(throwable) then it returns a canned 500 response to http client and does a stacktrace logging.
> We should use the existing response code that already deals with errors.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)