Hi Yeah that would be great. There is a ticket about aligning undertow with camel-http-common and Zoran started working on that a while back.
If that is too much work we could add a temporary improvement so camel-undertow can default to use http scheme if omitted. On Fri, Mar 24, 2017 at 7:33 AM, Luca Burgazzoli <lburgazz...@gmail.com> wrote: > Hello, > > I've recently worked on some examples related to the service-call eip > using undertow as underlying component to see how complex is to go > beyond the defaults and it worked nice, the only downside is that you > cannot simply swap the component as undertow expect also the protocol > (http/https) to be provided in the uri syntax: > > undertow:http://hostname[:port][/resourceUri][?options] > > When using component like camel-http or camel-http4 the scheme is not > needed which make the integration with the service-call eip much > simpler. > > So I'm wondering if it could make sense to let camel-undertow also to > handle uri like: > > undertow:hostname[:port][/resourceUri][?options] > > where: > > - by default the scheme is http > - https can be derived by the port number or presence of the ssl options > - of course one can set the full uri as today > > As I do not know camel-undertow in depth I may have missed something > so any feedback would be appreciated. > > > > --- > Luca Burgazzoli -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2