You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2026/06/03 06:53:43 UTC

(camel-quarkus) 29/43: Revert "Eagerly build PropertiesComponent to fix Simple language expressions"

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

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

commit f1687c1f5dbea57dd639f4a3c309ba1a1448e857
Author: Jiri Ondrusek <on...@gmail.com>
AuthorDate: Thu May 21 13:08:08 2026 +0200

    Revert "Eagerly build PropertiesComponent to fix Simple language expressions"
    
    This reverts commit 93bfa04c665c17c655ad0a06199c066fa490304c.
---
 .../main/java/org/apache/camel/quarkus/core/FastCamelContext.java   | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
index 3126cb1af4..c76d7fe46d 100644
--- a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
+++ b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/FastCamelContext.java
@@ -167,12 +167,6 @@ public class FastCamelContext extends DefaultCamelContext implements CatalogCame
         org.apache.camel.component.properties.PropertiesComponent pc = new org.apache.camel.component.properties.PropertiesComponent();
         pc.setAutoDiscoverPropertiesSources(true);
         pc.addPropertiesSource(new CamelMicroProfilePropertiesSource());
-        pc.setCamelContext(this);
-        try {
-            pc.build();
-        } catch (Exception e) {
-            throw new RuntimeException("Failed to build PropertiesComponent", e);
-        }
         return pc;
     }