concept port in category camel

appears as: port, port, ports
Camel in Action

This is an excerpt from Manning's book Camel in Action.

First you need to set up the JSON data format and specify that the Jackson library should be used ❶. Then you define a route that exposes the HTTP service using the Jetty endpoint. This example exposes the Jetty endpoint directly in the URI. By using http://0.0.0.0:8080/order, you tell Jetty that any client can reach this service on port 8080. Whenever a request hits this HTTP service, it’s routed to the orderService bean ❷, and the lookup method is invoked on that bean. The result of this bean invocation is then marshaled to JSON format and returned to the HTTP client.

Here you can see two members in the cluster that are linked together with TCP via ports 5701 and 5702.

INFO Response Hello from Foo server on port 8081 INFO Response Hello from Bar server on port 8082 INFO Response Hello from Foo server on port 8081 INFO Response Hello from Bar server on port 8082