Affects Version/s: 2.22.1
Fix Version/s: None
When defining a rest-swagger component
public Component mobile(CamelContext camelContext) throws URISyntaxException
in the following route (rest-endpoint missing, this is calling direct:getMobileAccountById) the host attribute is overwritten by the previous host header (therefore removeHeader needs to be called prior to invocation of the rest-swagger endpoint)
.log("Just got called for Mobile");
The attribute host should not be overwritten by the host-header, if it is set explicitly on the component.