This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch cxfjbang
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/cxfjbang by this push:
new c1beada3bb4a CAMEL-22670: camel-jbang - Using CXF should automatic
download HTTP transport if needed. This makes it easier when using camel-jbang.
c1beada3bb4a is described below
commit c1beada3bb4a508f08e631405e5e5e51b17add62
Author: Claus Ibsen <[email protected]>
AuthorDate: Fri Nov 7 12:30:38 2025 +0100
CAMEL-22670: camel-jbang - Using CXF should automatic download HTTP
transport if needed. This makes it easier when using camel-jbang.
---
.../java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java | 9 ---------
1 file changed, 9 deletions(-)
diff --git
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
index a3bd1573c3ce..c8cb74bd785d 100644
---
a/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
+++
b/components/camel-cxf/camel-cxf-soap/src/main/java/org/apache/camel/component/cxf/jaxws/CxfEndpoint.java
@@ -359,15 +359,6 @@ public class CxfEndpoint extends DefaultEndpoint
implements AsyncEndpoint, Heade
sfb.setBus(getBus());
sfb.setStart(false);
- Class c =
getCamelContext().getClassResolver().resolveClass("org.apache.cxf.transport.http_undertow.UndertowHTTPServerEngineFactory");
- Object o = getCamelContext().getInjector().newInstance(c);
-
- c.getConstructor(Bus.class).newInstance()
-
- org.apache.camel.support.ObjectHelper.invokeMethodSafe("setBus", o,
bus);
-
-
-
// add custom http destination factories
var factories =
getCamelContext().getRegistry().findByType(HttpDestinationFactory.class);
for (var factory : factories) {