blob: 50f556582c7696420d313d7d1c5a1519e1d87484 [file] [log] [blame]
[[MicroProfileConfig]]
= MicroProfile Config
:page-source: components/camel-microprofile-config/src/main/docs/microprofile-config.adoc
*Since Camel 3.0*
The microprofile-config component is used for bridging the Eclipse MicroProfile Config with Camels
properties component. This allows to use configuration management from Eclipse MicroProfile with Camel.
To enable this just add this component to the classpath and Camel should auto-detect this when starting up.
== Register manually
You can also register the microprofile-config component manually with Apache Camel properties component as shown below:
[source,java]
----
PropertiesComponent pc = (PropertiesComponent) camelContext.getPropertiesComponent();
pc.addPropertiesSource(new CamelMicroProfilePropertiesSource());
----