Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 983CDC75E for ; Thu, 7 Jun 2012 03:47:59 +0000 (UTC) Received: (qmail 52558 invoked by uid 500); 7 Jun 2012 03:47:59 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 52487 invoked by uid 500); 7 Jun 2012 03:47:58 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 52471 invoked by uid 99); 7 Jun 2012 03:47:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 03:47:58 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 03:47:53 +0000 Received: by lahc1 with SMTP id c1so130380lah.32 for ; Wed, 06 Jun 2012 20:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=u145A7f3a82qtj3eDe3w0+vzRWuwqr2aBKKVXo8PY2Y=; b=P1i89iLBruRkgOVxZarDuMN0P4c3hICG/wn3LxCd4IWmL1eVLb6IaUnrnMri2JlrG2 J2CpqEjQ/WLx5cHlh7BqllKjani173HKzCApX5qF1RReaTNuqT80BVI0MLQQEWT3bWbf vEvISZQvvGNgOSwmchLBaUn+pvWTOnHLcLyKDQmfbw8rRCgKkmN8qTro3DByI0Aug9Rq eJyeG40/cD9m2cgOxu+jojwcEMLu1LvnrFF3MVBs3P56CGHd7JkeautOK9fn37u0AOG0 MPT4nu1cIF7kMyPMs7FP9QzpLvm6nzrIHQqrrQCXlRoz4OBgOufsljy9wAaiHxK4M197 knZw== Received: by 10.112.42.66 with SMTP id m2mr484749lbl.46.1339040852356; Wed, 06 Jun 2012 20:47:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.49.73 with HTTP; Wed, 6 Jun 2012 20:47:11 -0700 (PDT) In-Reply-To: <1339013358516-5714089.post@n5.nabble.com> References: <1339013358516-5714089.post@n5.nabble.com> From: Claus Ibsen Date: Thu, 7 Jun 2012 05:47:11 +0200 Message-ID: Subject: Re: Java or Scala DSL in a Web App To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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 t= his: > > 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. =A0Is 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-S= cala-DSL-in-a-Web-App-tp5714089.html > Sent from the Camel - Users mailing list archive at Nabble.com. --=20 Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen