davsclaus opened a new issue, #8702: URL: https://github.com/apache/camel-quarkus/issues/8702
## Summary Camel core added a new `ErrorRegistry` SPI in [CAMEL-23079](https://issues.apache.org/jira/browse/CAMEL-23079) that captures exceptions during message routing and stores them in memory. This is an opt-in feature with configurable capacity and TTL. The camel-spring-boot project has added auto-configuration support for this in [apache/camel-spring-boot@b25135da707](https://github.com/apache/camel-spring-boot/commit/b25135da707), allowing users to configure the error registry via `application.properties`. Camel Quarkus may need similar configuration support so users can enable and configure the `ErrorRegistry` via `application.properties`. ## Configuration properties to expose | Property | Type | Default | Description | |---|---|---|---| | `camel.errorregistry.enabled` | boolean | `false` | Enable error registry | | `camel.errorregistry.maximum-entries` | int | `100` | Max error entries before eviction | | `camel.errorregistry.time-to-live-seconds` | int | `3600` | TTL in seconds for entries | | `camel.errorregistry.body-max-chars` | int | `32768` | Max body size in captured data | | `camel.errorregistry.body-include-streams` | boolean | `false` | Include stream-based message bodies | | `camel.errorregistry.body-include-files` | boolean | `true` | Include file-based message bodies | | `camel.errorregistry.include-exchange-properties` | boolean | `true` | Include exchange properties | | `camel.errorregistry.include-exchange-variables` | boolean | `true` | Include exchange variables | ## Key classes in Camel core - `org.apache.camel.spi.ErrorRegistry` — SPI interface - `org.apache.camel.impl.engine.DefaultErrorRegistry` — default implementation - `org.apache.camel.main.ErrorRegistryConfigurationProperties` — camel-main configuration ## Reference - Spring Boot auto-configuration PR: https://github.com/apache/camel-spring-boot/commit/b25135da707 - JIRA: https://issues.apache.org/jira/browse/CAMEL-23079 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
