You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zh...@apache.org on 2025/03/12 03:34:50 UTC

(camel-quarkus) branch main updated: Fix get beans name from the camel quarkus runtime catalog (#7127)

This is an automated email from the ASF dual-hosted git repository.

zhfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new ec71ba9cca Fix get beans name from the camel quarkus runtime catalog (#7127)
ec71ba9cca is described below

commit ec71ba9cca845ee31d6fe6d46b2c7cb2f7eba2f8
Author: Zheng Feng <zh...@gmail.com>
AuthorDate: Wed Mar 12 11:34:46 2025 +0800

    Fix get beans name from the camel quarkus runtime catalog (#7127)
---
 .../src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java
index fc19626f93..1711870a84 100644
--- a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java
+++ b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java
@@ -526,7 +526,7 @@ public class CqCatalog {
         @Override
         public List<String> findBeansNames() {
             List<String> names = new ArrayList<>();
-            InputStream is = getCamelCatalog().getVersionManager().getResourceAsStream(getPojoBeanJSonSchemaDirectory());
+            InputStream is = getCamelCatalog().getVersionManager().getResourceAsStream(getBeansCatalog());
             if (is != null) {
                 try {
                     CatalogHelper.loadLines(is, names);