If I recall then the context-path in <restConfiguration> is only for documentation purposes and JMX API,
you need still need to use that path as well in your rest-dsl On Fri, Jul 31, 2015 at 11:49 AM, Arnaud Deprez <[email protected]> wrote: > Hi, > > Everything is in the subject. > > I've some Rest DSL routes with the following rest configuration : > > <restConfiguration bindingMode="json" > component="netty4-http" > host="0.0.0.0" > port="8888" > contextPath="camel/api"> > <endpointProperty key="disableStreamCache" value="true"/> > <endpointProperty key="nettySharedHttpServer" > value="#sharedNettyHttpServer"/> > <dataFormatProperty key="prettyPrint" value="true"/> > </restConfiguration> > > I used the shared http server as explained in the documentation and it > works fine except that the contextPath property is not taken into account > (my web services are available on "/xxx" and not on "/camel/api/xxx" as > expected. > > I don't think there is a ticket for that, so I can create it if it's a bug. > > Rgds, > > A. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: http://www.manning.com/ibsen2
