Re: Problem with Camel rest in OSGi

2014-11-07 Thread Asgeir Frimannsson
There is however a small (1 character) bug in 2.14 where endpointProperties are ignored: In org.apache.camel.component.servlet.ServletComponent:createConsumer (and similar for other REST-aware endpoints): String url = "servlet:///%s?httpMethodRestrict=%s"; if (!query.isEmpty()) {

Re: Problem with Camel rest in OSGi

2014-11-07 Thread Claus Ibsen
Hi I have updated that page to explain that better. And btw its only when using the servlet component. https://cwiki.apache.org/confluence/display/CAMEL/Rest+DSL On Fri, Nov 7, 2014 at 10:07 AM, Claus Ibsen wrote: > The port is only for human and tooling such as JMX, swagger, etc. > > The actual

Re: Problem with Camel rest in OSGi

2014-11-07 Thread Claus Ibsen
The port is only for human and tooling such as JMX, swagger, etc. The actual port is configured by the component you use, and as you use servlet its the HTTP service from OSGi. In Karaf that service uses by default port 8181. On Fri, Nov 7, 2014 at 9:47 AM, amjr wrote: > Hi! > > I'm creating a