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

jamesnetherton 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 c7b8a7a0b3 Remove redundant native workarounds for Camel Quarkus main
c7b8a7a0b3 is described below

commit c7b8a7a0b30354f5d6fbe6a2da08e1b6f0e088ed
Author: Lukas Lowinger <[email protected]>
AuthorDate: Thu Aug 7 09:50:47 2025 +0200

    Remove redundant native workarounds for Camel Quarkus main
---
 .../core/deployment/main/CamelMainNativeImageProcessor.java   | 11 -----------
 1 file changed, 11 deletions(-)

diff --git 
a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/main/CamelMainNativeImageProcessor.java
 
b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/main/CamelMainNativeImageProcessor.java
index b8e9559b27..8939d5e307 100644
--- 
a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/main/CamelMainNativeImageProcessor.java
+++ 
b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/main/CamelMainNativeImageProcessor.java
@@ -22,20 +22,9 @@ import java.util.stream.Stream;
 import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
 import 
io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
-import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
 import 
org.apache.camel.quarkus.core.deployment.spi.CamelRouteResourceBuildItem;
 
 public class CamelMainNativeImageProcessor {
-    @BuildStep
-    void reflectiveCLasses(BuildProducer<ReflectiveClassBuildItem> producer) {
-        // TODO: The classes below are needed to fix 
https://github.com/apache/camel-quarkus/issues/1005
-        //       but we need to investigate why it does not fail with Java 1.8
-        
producer.produce(ReflectiveClassBuildItem.builder(org.apache.camel.main.Resilience4jConfigurationProperties.class,
-                
org.apache.camel.model.Resilience4jConfigurationDefinition.class,
-                org.apache.camel.model.Resilience4jConfigurationCommon.class,
-                org.apache.camel.spi.RestConfiguration.class,
-                
org.apache.camel.quarkus.main.CamelMainApplication.class).methods().build());
-    }
 
     @BuildStep
     void camelNativeImageResources(

Reply via email to