You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "James Netherton (Jira)" <ji...@apache.org> on 2020/09/08 09:04:00 UTC

[jira] [Resolved] (CAMEL-15507) Make vertx-http component error handling consistent with other HTTP client components

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

James Netherton resolved CAMEL-15507.
-------------------------------------
    Resolution: Fixed

> Make vertx-http component error handling consistent with other HTTP client components
> -------------------------------------------------------------------------------------
>
>                 Key: CAMEL-15507
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15507
>             Project: Camel
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
>             Fix For: 3.6.0
>
>
> Something I noticed with the vertx-http component, is that if the target endpoint returns an error response code, the way in which the error state is handled is slightly different to other Camel HTTP client components.
> Usually the HTTP response code, response body etc are only set on the HttpOperationFailedException. camel-vertx-http does this, but it also sets them on the exchange just as if when the response is successful.
> The behaviour should be consistent with the other components.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)