i followd the example below did something like cxfProducerEndpoint.setSslContextParameters( producerSslContextParameters);
https://www.programcreek.com/java-api-examples/?code=wildfly-extras/wildfly-camel-examples/wildfly-camel-examples-master/camel-cxf-jaxws-cdi-secure/src/main/java/org/wildfly/camel/examples/cxf/jaxws/Application.java but got problme like Caused by: java.io.IOException: Protocol mismatch for port 9009: engine's protocol is http, the url protocol is https at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory.createJettyHTTPServerEngine(JettyHTTPServerEngineFactory.java:277) ~[cxf-rt-transports at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory.createJettyHTTPServerEngine(JettyHTTPServerEngineFactory.java:307) ~[cxf-rt-transports at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.retrieveEngine(JettyHTTPDestination.java:134) ~[cxf-rt-transports-http-jetty-3.2.7.jar!/:3.2.7 at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.finalizeConfig(JettyHTTPDestination.java:166) ~[cxf-rt-transports-http-jetty-3.2.7.jar!/:3.2.7 ---------- Forwarded message --------- From: Wang Yan <wyan...@gmail.com> Date: Mon, Feb 18, 2019 at 4:35 PM Subject: httpj:engine-factory setting in JAVADSL way To: <users@camel.apache.org> My CXF Endpoint Provider need to using https. I found setting like below should work, but i did not found how to do it in JAVADSL because my route is JAVADSL Any hints are more than welcome! <httpj:engine port="${https}"> <httpj:tlsServerParameters> <sec:keyManagers keyPassword="${keyStorePass}"> <sec:keyStore type="JKS" password="${keyStorePass}" file="${keyStorePath}"/> </sec:keyManagers> </httpj:tlsServerParameters> </httpj:engine> </httpj:engine-factory>