Search in sources :

Example 1 with CamelMicroProfilePropertiesSource

use of org.apache.camel.component.microprofile.config.CamelMicroProfilePropertiesSource in project camel-quarkus by apache.

the class FastCamelContext method createPropertiesComponent.

@Override
protected PropertiesComponent createPropertiesComponent() {
    org.apache.camel.component.properties.PropertiesComponent pc = new org.apache.camel.component.properties.PropertiesComponent();
    pc.setAutoDiscoverPropertiesSources(true);
    pc.addPropertiesSource(new CamelMicroProfilePropertiesSource());
    return pc;
}
Also used : CamelMicroProfilePropertiesSource(org.apache.camel.component.microprofile.config.CamelMicroProfilePropertiesSource) PropertiesComponent(org.apache.camel.spi.PropertiesComponent)

Aggregations

CamelMicroProfilePropertiesSource (org.apache.camel.component.microprofile.config.CamelMicroProfilePropertiesSource)1 PropertiesComponent (org.apache.camel.spi.PropertiesComponent)1