Hi
CXF also uses jetty as the http transport engine, you just need some
configuration to let it support https.
Here is the document [1].
The configuration files we show are mainly used to configure the CXF
endpoint.
You could still use the DSL in the RouteBuilder even you create the
CamelContext from Spring ApplicationContext.
We have a unit test[2] to show how to write the code.
[1]http://cwiki.apache.org/CXF20DOC/jetty-configuration.html
[2]https://svn.apache.org/repos/asf/activemq/camel/trunk/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfSpringRouterTest.java
Willem
Micky Santomax wrote:
Thanks for reply, but I need to configure dynamic message routing in
RouteBuilder
without specifying anything in camel-context.xml
I use jetty because I have an https endpoint and I want to crypt message
with ws-security.
Can I do all this with CXF ?
My actual configuration is the follow :
public void configure() throws Exception {
this.from("jetty:https://url")
.process(new Processor)
.to("seda:otherComponent");
}
Now I need an interceptor for ws-security on https://url