gnodet opened a new pull request, #22158: URL: https://github.com/apache/camel/pull/22158
## Summary - New `camel-state-store` component providing a simple, unified key-value store API with pluggable backends - Supports operations: `put`, `get`, `delete`, `contains`, `keys`, `clear` - Default in-memory backend using `ConcurrentHashMap` with optional TTL (lazy expiry) - Custom backends via `StateStoreBackend` interface and bean references - Operations configurable via URI option or `CamelStateStoreOperation` header - Fills a gap for users migrating from MuleSoft (which has Object Store built-in) ## Test plan - [x] Unit tests for all 6 operations with in-memory backend (`StateStoreTest` - 8 tests) - [x] TTL expiry tests (`StateStoreTtlTest` - 2 tests) - [x] All 10 tests passing - [x] Code formatted with `formatter:format` and `impsort:sort` - [x] Catalog metadata regenerated - [x] Endpoint DSL and Component DSL generated _Claude Code on behalf of Guillaume Nodet_ -- 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]
