Claus Ibsen created CAMEL-23837:
-----------------------------------

             Summary: Add DataSource connection pool dev-console with HikariCP 
and Agroal support
                 Key: CAMEL-23837
                 URL: https://issues.apache.org/jira/browse/CAMEL-23837
             Project: Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen


Add a new dev-console to camel-console that discovers javax.sql.DataSource 
instances from the Camel registry and exposes connection pool metrics.

The dev-console should support:
- HikariCP (Spring Boot default) via HikariPoolMXBean: active/idle/total 
connections, threads awaiting
- Agroal (Quarkus default) via AgroalDataSourceMetrics: activeCount, 
availableCount, maxUsedCount, creationTimeAverage, leakDetectionCount
- Both accessed via reflection to avoid compile dependencies
- Generic fallback for unknown DataSource implementations (show pool name/type)

This enables a new TUI screen to show database connection pool status at a 
glance.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to