You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2022/10/19 09:06:29 UTC

[camel-quarkus] 03/07: 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.

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

commit afa288dd8d6a8c878029d2206f6e82c382a0cce4
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);
+    }
 }