Philip Reimer created CAMEL-23081:
-------------------------------------

             Summary: Allow overriding the server reported endpoint port
                 Key: CAMEL-23081
                 URL: https://issues.apache.org/jira/browse/CAMEL-23081
             Project: Camel
          Issue Type: Improvement
          Components: camel-milo
    Affects Versions: 4.17.0
            Reporter: Philip Reimer


As described in [CAMEL-12287|https://issues.apache.org/jira/browse/CAMEL-12287] 
the endpoint URI reported back by the server may be different than the URI that 
is accessible to the client.

[This PR|https://github.com/apache/camel/pull/2237] added the ability to 
override the host part of the server's reported endpoint URI.

When the server is running inside a container (like docker container) the port 
can also be different. For example, when using 
[testcontainers|https://testcontainers.com/] the container gets a random port 
assigned that maps to the internal port 62541.

It would be nice to have another option {{overridePort}} in addition to 
{{overrideHost}} to handle such situations.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to