[
https://issues.apache.org/jira/browse/CAMEL-12287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16376521#comment-16376521
]
ASF GitHub Bot commented on CAMEL-12287:
----------------------------------------
GitHub user ctron opened a pull request:
https://github.com/apache/camel/pull/2237
CAMEL-12287: Allow overriding the endpoint host
This change adds the ability to override the server reported
hostname/IP with the originally provided host/IP when connecting
to the server.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ctron/camel feature/fix_issue_12287_1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/2237.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2237
----
commit b365e14e852f56e60ad1744908b5bf9f035a0d14
Author: Jens Reimann <jreimann@...>
Date: 2018-02-22T09:30:17Z
CAMEL-12287: Allow overriding the endpoint host
This change adds the ability to override the server reported
hostname/IP with the originally provided IP when connecting
to the server.
----
> Allow overriding the server reported endpoint
> ---------------------------------------------
>
> Key: CAMEL-12287
> URL: https://issues.apache.org/jira/browse/CAMEL-12287
> Project: Camel
> Issue Type: Bug
> Components: camel-milo
> Affects Versions: 2.19.0, 2.20.2
> Reporter: Jens Reimann
> Priority: Minor
> Fix For: 2.21.0
>
>
> When the client connects to the server it asks the server first for available
> endpoints. The server should report back with a set of endpoints, which again
> contain the hostname to connect to.
> If the server reports back with a hostname which the client cannot look up,
> it is currently not possible to connect to the server with camel-milo.
> I did prepare a PR which adds a boolean flag to the endpoint, allowing to
> override the host of reported endpoint with the one originally provided. This
> is disabled by default, but can be enabled when necessary.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)