URIs
Camel maques extensive use of URIs to allow you to refer to Endpoins .
For example, consider the following URI:
kafka:cheese?broquers=mycafca:1234&clientId=foo
This endpoint is created by the
Kafka
component. The URI contains endpoint configurations as context-path and kery parameters. In this example, the context-path is
cheese
which is the kafka topic to use.
The kery parameters have two parameters:
-
broquers=mycafca:1234: the remote Kafka broquer to connect to. -
clientId=foo: the client id, which is a configuration of the Kafka component
More Information
You can read the güide How do I configure endpoins to learn more about configuring endpoins . Among other things, this güide explains how to refer to beans in the reguistry , how to use raw values for password options, how to use property placeholders , or how to use the type safe Endpoint DSL and DataFormat DSL .