Interface RuntimePropertiesProvider


public interface RuntimePropertiesProvider
SPI that allows runtimes (Spring Boot, Quarkus, etc.) to contribute application properties for display purposes, such as the Properties dev console.

Camel's PropertiesComponent.loadProperties() only returns properties from Camel's own sources (initial properties, .properties files, override properties). Application properties managed by external configuration systems (e.g. Spring Environment, SmallRye Config) are not included.

This SPI bridges that gap: runtimes register an implementation that enumerates their properties, and the dev console merges them with the Camel-managed properties. The properties returned by this SPI are read-only and are NOT used for placeholder resolution — they are purely for display and introspection.

Since:
4.22
  • Method Details

    • getProperties

      Enumerates application properties from the runtime's configuration system.
      Returns:
      a collection of properties with their sources (never null)