Externalized Configuration - Red Hat Fuse

This booster provides a basic example of how to externalize configuration for an Apache Camel route.

For OpenShift deployments, the booster stores configuration data in a ConfigMap. A ConfigMap is an object that you can use to inject configuration data (in simple key and value pair format) into one or more Linux containers.

For standalone deployments, the booster stores configuration data in an applications.properties file.

This page invokes the Greeting Service every five seconds. The Greetings Service responds by using the booster.nameToGreet value from the ConfigMap (for OpenShift deployments) or a properties file (for standalone deployments).

To demonstrate how the Externalized Configuration works:

Greeting Service

Results: