You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/03/26 10:53:00 UTC
[jira] [Assigned] (CAMEL-23255) Infinispan Remote component should retry schema registration on IllegalLifecycleStateException
[ https://issues.apache.org/jira/browse/CAMEL-23255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet reassigned CAMEL-23255:
---------------------------------------
Assignee: Guillaume Nodet
> Infinispan Remote component should retry schema registration on IllegalLifecycleStateException
> ----------------------------------------------------------------------------------------------
>
> Key: CAMEL-23255
> URL: https://issues.apache.org/jira/browse/CAMEL-23255
> Project: Camel
> Issue Type: Improvement
> Components: camel-infinispan
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Minor
>
> The {{InfinispanRemoteManager.doStart()}} method calls {{EmbeddingStoreUtil.registerSchema()}} synchronously during route startup, which accesses the Infinispan {{___protobuf_metadata}} internal cache. If the Infinispan server is still initializing and this cache is not ready, the operation fails immediately with:
> {code}
> org.infinispan.commons.IllegalLifecycleStateException: ISPN005066: Cache '___protobuf_metadata' is not ready
> {code}
> The component should handle this gracefully, e.g., by retrying schema registration when {{IllegalLifecycleStateException}} is thrown, rather than failing the route startup immediately.
> This was identified during the fix for CAMEL-23253, where the test was made more robust with a readiness check, but the component itself remains brittle against slow server initialization.
> See PR #22265 for context.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)