Reputation: 1
I have res-service and rest-client jar files provided as examples on my computer. When I run them normally from PowerShell, I can connect using java -jar rest-service port_a
and java -jar rest-client port_a
.
I also have a template to create a route:
public void configure() throws Exception {
MyProcessor myProcessor = new MyProcessor();
getCamelContext().getRegistry().bind("MyProc", myProcessor);
from("jetty:http://localhost:port/client-service")
.to("http://localhost:port/");
However, I am having difficulty understanding the logic here. Where should I add the client port number?
Upvotes: -1
Views: 8