Just a note that spark-rest is not apache spark http://camel.apache.org/spark-rest
and it requires Java 8 at runtime. The example with servlet is better as it uses servlet so it reuse the servlet engine of tomcat. Where as spark-rest is hardcoded to use jetty. On Wed, Oct 14, 2015 at 7:18 PM, Ashwani <ashwani.g...@steria.co.in> wrote: > Hi, > > I have two questions: > > 1). I tried camel-example-spark-rest-tomcat available in apache-camel-2.16.0 > distribution, however was not able to run it either through tomcat server or > jetty. Both server errored out with "resource not found". Any input on what > i may be doing wrong or any step by step guide to run the example, if it is > different then what is mentioned in Readme.txt? > > 2). I am trying to start spark job / jobserver through camel. I am trying > scenario where camel will invoke spark job server that is exposed as an rest > api. Is it possible? > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Spark-Rest-tp5772654.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition