apupier commented on code in PR #22265:
URL: https://github.com/apache/camel/pull/22265#discussion_r2993158335


##########
components/camel-ai/camel-langchain4j-embeddings/src/test/java/org/apache/camel/component/langchain4j/embeddings/LangChain4jEmbeddingsComponentInfinispanTargetIT.java:
##########
@@ -226,6 +226,9 @@ private RemoteCacheManager getCacheContainer() {
     private boolean createCache() {
         try {
             getOrCreateCache();
+            // Verify the protobuf metadata cache is also ready, as the 
Infinispan
+            // component needs it when the route starts
+            cacheContainer.getCache("___protobuf_metadata");

Review Comment:
   this sounds like a workaround for a potential bug in the component. 
Shouldn't the component be able to wait that the cache is ready?



-- 
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]

Reply via email to