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
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA single property with its key, value, and the source it came from. -
Method Summary
Modifier and TypeMethodDescriptionEnumerates application properties from the runtime's configuration system.
-
Method Details
-
getProperties
Collection<RuntimePropertiesProvider.Property> getProperties()Enumerates application properties from the runtime's configuration system.- Returns:
- a collection of properties with their sources (never null)
-