Camel makes extensive use of URIs to allow you to refer to Endpoints.

For example, consider the following URI:


This endpoint is created by the Kafka component. The URI contains endpoint configurations as context-path and query parameters. In this example, the context-path is cheese which is the kafka topic to use.

The query parameters have two parameters:

  1. brokers=mykafka:1234: the remote Kafka broker to connect to.

  2. clientId=foo: the client id, which is a configuration of the Kafka component

More Information

You can read the guide How do I configure endpoints to learn more about configuring endpoints. Among other things, this guide explains how to refer to beans in the registry, 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.