You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2022/10/17 14:36:51 UTC

[camel-quarkus] 03/03: Let quarkus-cxf create a Vert.x route for us even though there are no build time WS endpoints

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

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

commit 0c6b12b1b6284e0103659399156c3f1a88ff49c8
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Sun Oct 16 23:19:43 2022 +0200

    Let quarkus-cxf create a Vert.x route for us even though there are no build time WS endpoints
---
 .../quarkus/component/cxf/soap/deployment/CxfSoapProcessor.java     | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/extensions/cxf-soap/deployment/src/main/java/org/apache/camel/quarkus/component/cxf/soap/deployment/CxfSoapProcessor.java b/extensions/cxf-soap/deployment/src/main/java/org/apache/camel/quarkus/component/cxf/soap/deployment/CxfSoapProcessor.java
index 5f8269c31d..bdf56e76ac 100644
--- a/extensions/cxf-soap/deployment/src/main/java/org/apache/camel/quarkus/component/cxf/soap/deployment/CxfSoapProcessor.java
+++ b/extensions/cxf-soap/deployment/src/main/java/org/apache/camel/quarkus/component/cxf/soap/deployment/CxfSoapProcessor.java
@@ -18,6 +18,7 @@ package org.apache.camel.quarkus.component.cxf.soap.deployment;
 
 import java.util.stream.Stream;
 
+import io.quarkiverse.cxf.deployment.CxfRouteRegistrationRequestorBuildItem;
 import io.quarkus.deployment.annotations.BuildProducer;
 import io.quarkus.deployment.annotations.BuildStep;
 import io.quarkus.deployment.builditem.CombinedIndexBuildItem;
@@ -49,4 +50,9 @@ class CxfSoapProcessor {
                 .forEach(reflectiveClass::produce);
 
     }
+
+    @BuildStep
+    CxfRouteRegistrationRequestorBuildItem requestCxfRouteRegistration() {
+        return new CxfRouteRegistrationRequestorBuildItem(FEATURE);
+    }
 }