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 65a6b83aa55 Fixes #9361. Remove Vert.x ClientMultipartFormUpload 
runtime-init workaround
65a6b83aa55 is described below

commit 65a6b83aa55ac7dcdcdfe7005c5a8cdf33d5a504
Author: James Netherton <[email protected]>
AuthorDate: Wed Nov 4 13:21:16 2026 +0000

    Fixes #9361. Remove Vert.x ClientMultipartFormUpload runtime-init workaround
    
    Quarkus 4.0.0.Beta2 VertxProcessor registers
    io.vertx.core.http.impl.ClientMultipartFormUpload for runtime 
initialization,
    so the registration in VertxHttpProcessor is no longer needed.
    
    Co-authored-by: Claude Opus 5.5 <[email protected]>
---
 .../component/vertx/http/deployment/VertxHttpProcessor.java    | 10 ----------
 1 file changed, 10 deletions(-)

diff --git 
a/extensions/vertx-http/deployment/src/main/java/org/apache/camel/quarkus/component/vertx/http/deployment/VertxHttpProcessor.java
 
b/extensions/vertx-http/deployment/src/main/java/org/apache/camel/quarkus/component/vertx/http/deployment/VertxHttpProcessor.java
index f830fcf5901..4375f2008d1 100644
--- 
a/extensions/vertx-http/deployment/src/main/java/org/apache/camel/quarkus/component/vertx/http/deployment/VertxHttpProcessor.java
+++ 
b/extensions/vertx-http/deployment/src/main/java/org/apache/camel/quarkus/component/vertx/http/deployment/VertxHttpProcessor.java
@@ -20,7 +20,6 @@ import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.annotations.ExecutionTime;
 import io.quarkus.deployment.annotations.Record;
 import io.quarkus.deployment.builditem.FeatureBuildItem;
-import 
io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
 import io.quarkus.vertx.deployment.VertxBuildItem;
 import org.apache.camel.component.vertx.http.VertxHttpComponent;
 import org.apache.camel.quarkus.component.vertx.http.CamelVertxHttpRecorder;
@@ -35,15 +34,6 @@ class VertxHttpProcessor {
         return new FeatureBuildItem(FEATURE);
     }
 
-    // TODO: Remove when Quarkus registers 
io.vertx.core.http.impl.ClientMultipartFormUpload for runtime initialization
-    // https://github.com/apache/camel-quarkus/issues/9361
-    // Quarkus VertxProcessor still references the Vert.x 4 name 
io.vertx.ext.web.client.impl.MultipartFormUpload,
-    // which no longer exists on Vert.x 5, so the registration is skipped
-    @BuildStep
-    RuntimeInitializedClassBuildItem runtimeInitializedClasses() {
-        return new 
RuntimeInitializedClassBuildItem("io.vertx.core.http.impl.ClientMultipartFormUpload");
-    }
-
     @Record(ExecutionTime.RUNTIME_INIT)
     @BuildStep
     CamelRuntimeBeanBuildItem configureVertxComponent(CamelVertxHttpRecorder 
recorder, VertxBuildItem vertx) {

Reply via email to