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/12/09 09:30:00 UTC

[jira] [Assigned] (CAMEL-17298) camel-vertx-http duplicates path

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

Claus Ibsen reassigned CAMEL-17298:
-----------------------------------

    Assignee: Claus Ibsen

> camel-vertx-http duplicates path
> --------------------------------
>
>                 Key: CAMEL-17298
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17298
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-vertx
>    Affects Versions: 3.13.0
>            Reporter: Marat Gubaidullin
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 3.14.0
>
>
> The following code
> {code:java}
> from("timer:test?repeatCount=1")
>     .setHeader(Exchange.HTTP_URI, simple("https://gorest.co.in/public/v1/users/123/posts"))
>     .toD("vertx-http:${header.CamelHttpUri}");
> {code}
> throws exception:
> {noformat}
> Error processing exchange. Exchange[AB574B09C060549-0000000000000000]. Caused by: [org.apache.camel.http.base.HttpOperationFailedException - HTTP operation failed invoking https://gorest.co.in/public/v1/users/123/posts/public/v1/users/123/posts with statusCode: 404]: org.apache.camel.http.base.HttpOperationFailedException: HTTP operation failed invoking https://gorest.co.in/public/v1/users/123/posts/public/v1/users/123/posts with statusCode: 404
> {noformat}
> Because it duplicates path *public/v1/users/123/posts/public/v1/users/123/posts*
> Same code with camel-http work fine
> {code:java}
> .toD("${header.CamelHttpUri}")
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)