[
https://issues.apache.org/jira/browse/CAMEL-22282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18011097#comment-18011097
]
Claus Ibsen commented on CAMEL-22282:
-------------------------------------
In 4.10.x you need to remove that CamelHttpPath header due to
skipControlHeaders is not an option yet
https://github.com/apache/camel-spring-boot/commit/3852fdbc478c3bbf48dcfabe4dff355c0c4a67bf
> platform-http using spring boot won't create the producer URL correctly in
> case of bridged url
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-22282
> URL: https://issues.apache.org/jira/browse/CAMEL-22282
> Project: Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 4.8.8, 4.10.6, 4.13.0
> Reporter: Marco Carletti
> Assignee: Marco Carletti
> Priority: Major
> Fix For: 4.10.7, 4.14.0
>
> Attachments: csb-app.zip
>
>
> In the scenario where service1 -> calls -> service2, the http producer will
> fail, it appends the first path to the bridged one.
> So if you call the service1 at the endpoint [http://localhost:8080/start] and
> the route is configured to call the service2 at [http://localhost:8081/chain]
> using
> {code:java}
> .toD("${header.backendServiceEndpoint}/chain?bridgeEndpoint=true")
> {code}
> the result will be [http://localhost:8081/chain/start] instead of the
> expected [http://localhost:8081/chain]
> Attached the reproducer [^csb-app.zip]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)