ctron / kura-addons

Addons for Eclipse Kura™
Apache License 2.0
6 stars 4 forks source link

How can HTTPS Camel endpoint be configured #5

Open pintify opened 4 years ago

pintify commented 4 years ago

I've tried to configure and HTTPS service through camel XmlRouteComponent with jetty and http components installed but it's not working so far. The configuration I'm using is:

<routes xmlns="http://camel.apache.org/schema/spring">
   <route id="POST new element">
      <from uri="jetty:https://0.0.0.0:12345/myservice?keystore=/path/to/keystore/keystore.jks&amp;sslPassword=mypassword"/>
      <to uri="stream:out"/>
   </route>
</routes>

If I configure it as HTTP, it works perfectly.

I've checked also the Camel documentation, but I don't know how to create the context in the XmlRouteComponent.

No error is logged at any point.

ctron commented 4 years ago

I am sorry, I don't really know. I would suggest to do a plain camel project first, and then migrate to Kura.