You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "davsclaus (via GitHub)" <gi...@apache.org> on 2026/07/04 08:19:25 UTC

[I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

davsclaus opened a new issue, #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825

   The `PropertiesDevConsole` (Configuration tab in camel-tui) shows noisy output for Quarkus apps because `CamelMicroProfilePropertiesSource.loadProperties()` enumerates ALL MicroProfile Config sources, including environment variables and JVM system properties.
   
   Apache Camel core now has a `RuntimePropertiesProvider` SPI (CAMEL-23897) that runtimes can implement to contribute application properties for display purposes only — without affecting placeholder resolution.
   
   **What's needed:**
   
   Register a `RuntimePropertiesProvider` bean for Quarkus that:
   - Iterates `Config.getConfigSources()` and skips sources with names containing `SysProp`, `Env`, or `system`
   - Returns only application-level properties (from `application.properties`, `microprofile-config.properties`, etc.)
   
   This is the same pattern used by `SpringBootRuntimePropertiesProvider` in camel-spring-boot.
   
   **Reference:**
   - CAMEL-23897: https://issues.apache.org/jira/browse/CAMEL-23897
   - SPI: `org.apache.camel.spi.RuntimePropertiesProvider` in `camel-api`
   - Spring Boot impl: `SpringBootRuntimePropertiesProvider` in `camel-spring-boot`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825#issuecomment-5280952456

   Thanks James we should only use either of them in the dev console, so if there is a provider its only in use


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825#issuecomment-5284105216

   great work that looks good so quarkus is good in TUI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825#issuecomment-5283499694

   From the timer-log CQ example project:
   
   <img width="770" height="189" alt="Image" src="https://github.com/user-attachments/assets/7d5b5f03-7704-48de-bb75-4d0dc1a3a555" />


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on issue #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825#issuecomment-5281144883

   okay fixed for main and 4.22.1, so we would still need this quarkus implementation to make it work like it does in CSB
   https://github.com/apache/camel/commit/88c0d2c336e99738a83ac86c29d794190f0a23d6
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825#issuecomment-5281260606

   > We would still need this quarkus implementation
   
   Yes, I have that done.
   
   I'll also do a workaround to filter out the unwanted junk in the dev console until we pick up https://github.com/apache/camel/commit/88c0d2c336e99738a83ac86c29d794190f0a23d6.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #8825:
URL: https://github.com/apache/camel-quarkus/issues/8825#issuecomment-5265852617

   The problem here is that we effectively already have a `RuntimePropertiesProvider` from `camel-microprofile-config` in the shape of `CamelMicroProfilePropertiesSource`.
   
   Even with a custom `RuntimePropertiesProvider` that filters results, the properties dev console will still return unwanted (and duplicate) results because it combines the `PropertiesSource` with the `RuntimePropertiesProvider`:
   
   First here:
   
   https://github.com/apache/camel/blob/8e39ef44603da348526809d5bc6094b29f5a359d/core/camel-console/src/main/java/org/apache/camel/impl/console/PropertiesDevConsole.java#L51
   
   Then here:
   
   https://github.com/apache/camel/blob/8e39ef44603da348526809d5bc6094b29f5a359d/core/camel-console/src/main/java/org/apache/camel/impl/console/PropertiesDevConsole.java#L69-L70
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console [camel-quarkus]

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #8825: Implement RuntimePropertiesProvider for Quarkus to show app properties in dev console
URL: https://github.com/apache/camel-quarkus/issues/8825


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org