Hi I dont think we have implemented it for it, you are welcome to log a JIRA http://camel.apache.org/support.html
On Sat, Feb 27, 2016 at 2:12 AM, John D. Ament <johndam...@apache.org> wrote: > I'm really interested in using Camel's REST DSL and Swagger to provide > documentation on my API routes. I was hoping to use spark as well, but I > can't seem to get it to run. I receive this error > > java.lang.IllegalArgumentException: Component spark-rest is not a > RestApiConsumerFactory > at > org.apache.camel.component.rest.RestApiEndpoint.createConsumer(RestApiEndpoint.java:223) > at > org.apache.camel.impl.EventDrivenConsumerRoute.addServices(EventDrivenConsumerRoute.java:68) > at > org.apache.camel.impl.DefaultRoute.onStartingServices(DefaultRoute.java:98) > at org.apache.camel.impl.RouteService.warmUp(RouteService.java:158) > at > org.apache.camel.impl.DefaultCamelContext.doWarmUpRoutes(DefaultCamelContext.java:3453) > at > org.apache.camel.impl.DefaultCamelContext.safelyStartRouteServices(DefaultCamelContext.java:3383) > at > org.apache.camel.impl.DefaultCamelContext.doStartOrResumeRoutes(DefaultCamelContext.java:3160) > at > org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:3016) > at > org.apache.camel.impl.DefaultCamelContext.access$000(DefaultCamelContext.java:175) > at > org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2812) > at > org.apache.camel.impl.DefaultCamelContext$2.call(DefaultCamelContext.java:2808) > at > org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2831) > at > org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:2808) > at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) > > My thought is that this implies that there's something not supported > between the two. Is that accurate? > > John -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2