camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Java or Scala DSL in a Web App
Date Thu, 07 Jun 2012 03:47:11 GMT
On Wed, Jun 6, 2012 at 10:09 PM, rdifrango <> wrote:
> I was looking at how to integrate Camel into a Web app and according to this:
> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message