You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by ychawla <pr...@gmail.com> on 2017/03/16 20:40:04 UTC
Camel REST DSL - using provided SSL port in karaf
Hello All,
In my karaf instances, I have many bundles deployed and I use pax-jetty to
provide SSL using this configuration in etc/org.ops4j.pax.web.cfg:
org.osgi.service.http.enabled=false
org.osgi.service.http.secure.enabled=true
org.ops4j.pax.web.ssl.keystore=mykeystore.jks
org.ops4j.pax.web.ssl.keypassword=password
org.ops4j.pax.web.ssl.password=password
org.osgi.service.http.port.secure=8443
I want to expose a REST service using the Camel REST DSL. I am able to
expose a REST endpoint using a different port, however, I would like to
re-use this existing port as I only want one inbound SSL port to my server.
Is this possible? I can get this configuration to work, but it will provide
its own port instead of re-using the one that I provide through karaf.
<restConfiguration component="jetty" port="8888">
<dataFormatProperty key="prettyPrint" value="true"/>
</restConfiguration>
<rest path="/foo">
<get uri="/bar">
<to uri="direct:processBar"/>
</get>
</rest>
Any ideas?
Thanks,
Yogesh
--
View this message in context: http://camel.465427.n5.nabble.com/Camel-REST-DSL-using-provided-SSL-port-in-karaf-tp5795607.html
Sent from the Camel - Users mailing list archive at Nabble.com.