[
https://issues.apache.org/jira/browse/CAMEL-23845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Cosentino updated CAMEL-23845:
-------------------------------------
Fix Version/s: 4.22.0
> Camel-PQC: implement InMemoryKeyLifecycleManager (currently documented but
> missing)
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-23845
> URL: https://issues.apache.org/jira/browse/CAMEL-23845
> Project: Camel
> Issue Type: Improvement
> Components: camel-pqc
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Fix For: 4.22.0
>
>
> The component documentation ({{pqc-component.adoc}}) references an
> {{InMemoryKeyLifecycleManager}} in 8 places (a dedicated subsection, code
> examples, the implementation comparison table, the testing section and a
> migration example), but no such class exists in the codebase (git history
> confirms it was never committed).
> This is both a documentation defect (examples that do not compile) and a
> genuinely useful missing implementation: a non-persistent,
> {{ConcurrentHashMap}}-backed KeyLifecycleManager is ideal for tests,
> development and ephemeral workloads, and the existing tests would benefit
> from it.
> h3. Proposal
> * Implement {{InMemoryKeyLifecycleManager}} implementing
> {{KeyLifecycleManager}}, {{ConcurrentHashMap}}-backed, thread-safe, with the
> documented {{clear()}} and {{size()}} helper methods.
> * Add unit tests.
> * Ensure the docs examples match the implementation.
> Related umbrella: CAMEL-22512 (Key Lifecycle Management).
> Affected: {{components/camel-pqc}} lifecycle package + docs.
> ----
> _Filed by Claude Code on behalf of Andrea Cosentino._
--
This message was sent by Atlassian Jira
(v8.20.10#820010)