-
Bug
-
Resolution: Done
-
Major
-
fuse-7.1, fuse-7.9-GA
-
None
-
False
-
False
-
%
-
Todo
-
Undefined
-
Given this:
final DefaultCamelContext camel = new DefaultCamelContext(); final RuntimeCamelCatalog catalog = camel.getRuntimeCamelCatalog();final Map<String, String> properties = new HashMap<>(); properties.put("scheme", "http"); properties.put("host", "a.b-c.d"); catalog.asEndpointUri("netty-http", properties, false)
RuntimeCamelCatalog::asEndpointUri should return netty-http:a.b-c.d?scheme=http, it does not, the returned value is netty-http:a.b/path?scheme=http.
This affects all versions of Fuse 7, I've tested from 2.21.0.fuse-710018-redhat-00001 2.23.2.fuse-740011-redhat-00001 to 2.23.2.fuse-780036-redhat-00001 and including unreleased 2.23.2.fuse-790051.
This cannot be reproduced on upstream 2.23.4.