On Wed, Jun 6, 2012 at 10:09 PM, rdifrango <ron.difra...@gmail.com> wrote: > I was looking at how to integrate Camel into a Web app and according to this: > > http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html > > It is only possible to do if you are using Spring and you are using the > Spring DSL. Is there a way other than having to use Spring? >
Certainly there is many ways. Its all just Java code. So any way you can do it, its possible. A web app is typically a WAR file that has a web.xml to bootstrap. So you can use any web framework, a servlet, or whatever to bootstrap and start Camel. And Camel allows you to use any DSL you like, so even if you use a Spring XML file, the routes can be a in a Java DSL, Scala DSL etc. > -- > View this message in context: > http://camel.465427.n5.nabble.com/Java-or-Scala-DSL-in-a-Web-App-tp5714089.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen