Interface RuntimePropertiesProvider
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. When a provider is
present, the dev console uses it as the authoritative source instead of PropertiesComponent.loadProperties(),
avoiding noisy duplicates from runtime-managed config sources (environment variables, system properties, etc.). 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)
-