Marco Carletti created CAMEL-22282:
--------------------------------------

             Summary: 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-platform-http
    Affects Versions: 4.13.0, 4.10.6, 4.8.8
            Reporter: Marco Carletti
         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)

Reply via email to