Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAMEL-21432: camel-core - Prevent 0 as cache size for multicast EIP #16238

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

essobedo
Copy link
Contributor

Fix for https://issues.apache.org/jira/browse/CAMEL-21432

Motivation

The splitter and multicast EIPs set the cache size to 0 by default which causes endless evictions

Modifications:

  1. Prevent to set 0 as cache size at the cache level
  2. Use the value of CamelContextHelper.getMaximumCachePoolSize as the default cache size for the splitter and multicast EIPs

Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🤖 CI automation will test this PR automatically.

🐫 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.

  • You can label PRs using build-all, build-dependents, 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 have access to the summary.

  • ⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@essobedo essobedo merged commit dd51c2d into main Nov 12, 2024
5 checks passed
@essobedo essobedo deleted the CAMEL-21432/reject-cache-size-0 branch November 12, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants