-
1. Re: Cannot auto create component: restlet
ffang Sep 16, 2013 10:59 PM (in response to kishor_pawar89)Hi,
Please ensure you already install camel-restlet feature, something like
features:install camel-restlet
camel-restlet isn't the default installed feature.
Freeman
-
2. Re: Cannot auto create component: restlet
kishor_pawar89 Sep 17, 2013 4:17 AM (in response to ffang)Hi,
I have installed installed camel-restlet.
But still i get this issue.
-
3. Re: Cannot auto create component: restlet
ffang Sep 17, 2013 9:39 AM (in response to kishor_pawar89)Hi,
Please elaborate how you deploy your camel route, is it already an OSGi bundle?
Freeman
-
4. Re: Cannot auto create component: restlet
davsclaus Sep 17, 2013 9:46 AM (in response to kishor_pawar89)Is there not more in the log that could indicate what is the problem?
-
5. Re: Cannot auto create component: restlet
rajvaida Sep 17, 2013 11:47 AM (in response to davsclaus)This could be resolved by adding following.
<osgi:reference id="restlet"
interface="org.apache.camel.spi.ComponentResolver" cardinality="1..1"
filter="(component=restlet)" />
-
6. Re: Cannot auto create component: restlet
ffang Sep 18, 2013 4:29 AM (in response to rajvaida)Yep, hold a org.apache.camel.spi.ComponentResolver service reference in customer router bundle can help avoid the race issue that your customer bundle start before the required camel component bundle.