concept property placeholder in category camel

appears as: property placeholders, property placeholders, property placeholder, property placeholder
Camel in Action

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

Rather than having hardcoded endpoint URIs, Camel allows you to use property placeholders in the URIs to replace the dynamic parts. By dynamic, we mean that values will be replaced when Camel starts up, not on every new message, as in the case of toD described in the previous section.

One common usage of property placeholders is in testing. A Camel route is often tested in different environments—you may want to test it locally on your laptop, and then later on a dedicated test platform, and so forth. But you don’t want to rewrite tests every time you move to a new environment. That’s why you externalize dynamic parts rather than hardcoding them.