Re: Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-29 Thread Daniel Langevin
Hi, Finally i found the configuration for Spring Configuration (Simply adding OSGI shema) Thank you for the track to follow Here is the way. A) file name ABC-REST-0.0.1.XML deployed containg all routes for the system ABC. http://www.springframework.org/schema/beans;

Re: Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Kerry
OK if you don't use blueprint then that shouldn't be a problem but I wouldn't waste time at the moment trying to deploy my example (I need to update the docs on it to list all the feature dependencies to be installed in Karaf.. like I say it is a rough example at the moment) Instead look at

Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Daniel Langevin
Hi, before open the case i tried to include theese lines into my SPRING Bundle. (i don't use BLUEPRINT) http://www.springframework.org/schema/beans; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xmlns:camel="http://camel.apache.org/schema/spring;

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Kerry
Hi, I have achieve the exact same thing Daniel (based upon the camel-example-servlet-rest-blueprint example available in the GitHub repo) My (rough) example can be found here: https://github.com/jtkb/cameltest The two bundles of interest are the 'api' and 'time-api' Maven modules. Take a

Rép. : Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Daniel Langevin
Hi, i use KARAF as OSGI i deploy camel-servlet an no error in the log FeaturesServiceImpl | 8 - org.apache.karaf.features.core - 4.0.9 | Adding features: camel-servlet/[2.17.7,2.17.7] FeaturesServiceImpl | 8 - org.apache.karaf.features.core - 4.0.9 | Changes

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Mark
If I'm understanding your deployment correctly, you just need to make sure the proper camel bundles/features are deployed. What OSGi container are you using and what do your logs say? On Tue, Nov 28, 2017 at 12:35 PM, Claus Ibsen wrote: > Sorry for being a bit short on

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Claus Ibsen
Sorry for being a bit short on details, but I dont have the osgi example at hand here. On Tue, Nov 28, 2017 at 6:34 PM, Claus Ibsen wrote: > Hi > > Yeah I think it has been talked before about osgi and rest here or on > stackoverflow. You can configure camel-servlet for

Re: Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Claus Ibsen
Hi Yeah I think it has been talked before about osgi and rest here or on stackoverflow. You can configure camel-servlet for osgi with some "magic" osgi http service stuff. On Tue, Nov 28, 2017 at 5:05 PM, Daniel Langevin wrote: > Hi, > > i try to implement a Rest

Restconfiguration using Servlet with Camel in OSGI Karaf

2017-11-28 Thread Daniel Langevin
Hi, i try to implement a Rest service In OSGI Karaf 4.0.9 with Camel 2.17.7 i want to have multiple REST service from more than one bundle using the same port number like this. A) file name ABC-REST-0.0.1.XML deployed containg all routes for the system ABC. ... call the