Neither of the methods described for specifying the target URI of a Camel REST invocation using a camel-rest endpoint in the documentation [1] works.
This method:
restConfiguration().host("myserver:8080/foo")
works so long as there is only one route in the application using a camel-rest producer.
This method:
to("rest:get:hello/{me}?host=myserver:8080/foo");
does not work at all, because the argument of "host" is treated as an object in the registry, not a String.
[1] https://github.com/apache/camel/blob/master/camel-core/src/main/docs/rest-component.adoc