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/05/27 19:13:51 UTC
[PR] CAMEL-23615: ErrorRegistry - disable TTL by default [camel]
davsclaus opened a new pull request, #23575:
URL: https://github.com/apache/camel/pull/23575
## Summary
- Change the ErrorRegistry TTL default from 1 hour to 0 (disabled), so entries are retained based only on the maximum entries limit (100)
- Guard TTL eviction logic to skip when TTL is zero or negative
- Update documentation and generated catalog metadata
## Rationale
Most error registries and similar in-memory stores (e.g., Micrometer, Spring Boot Actuator trace stores) either don't use time-based eviction or keep entries much longer than 1 hour. Since the registry is already bounded by `maximumEntries=100`, time-based eviction is unnecessary by default and can cause users to miss recent errors that were evicted too quickly.
## Test plan
- [x] Existing `ManagedErrorRegistryTest` passes
- [x] Core modules build successfully
- [x] Catalog metadata regenerated
_Claude Code on behalf of Claus Ibsen_
--
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: [PR] CAMEL-23615: ErrorRegistry - disable TTL by default [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23575:
URL: https://github.com/apache/camel/pull/23575#issuecomment-4558104967
:star2: Thank you for your contribution to the Apache Camel project! :star2:
:robot: CI automation will test this PR automatically.
:camel: Apache Camel Committers, please review the following items:
* First-time contributors **require MANUAL approval** for the GitHub Actions to run
* You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot although they are normally detected and executed by CI.
* You can label PRs using `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR.
* Build and test logs are available in the summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary.
:warning: Be careful when sharing logs. Review their contents before sharing them publicly.
--
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: [PR] CAMEL-23615: ErrorRegistry - disable TTL by default [camel]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #23575:
URL: https://github.com/apache/camel/pull/23575#issuecomment-4558231496
<!-- ci-tested-modules -->
:test_tube: **CI tested the following changed modules:**
- `catalog/camel-catalog`
- `core/camel-api`
- `core/camel-base-engine`
- `core/camel-main`
- `docs`
> :information_source: Dependent modules were not tested because the total number of affected modules exceeded the threshold (50). Use the `test-dependents` label to force testing all dependents.
<details><summary>Build reactor — dependencies compiled but only changed modules were tested (5 modules)</summary>
- Camel :: API
- Camel :: Base Engine
- Camel :: Catalog :: Camel Catalog
- Camel :: Docs
- Camel :: Main
</details>
---
:gear: [View full build and test results](https://github.com/apache/camel/actions/runs/26533036872)
--
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: [PR] CAMEL-23615: ErrorRegistry - disable TTL by default [camel]
Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus merged PR #23575:
URL: https://github.com/apache/camel/pull/23575
--
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