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 3DF1ADA82 for ; Mon, 25 Jun 2012 15:55:49 +0000 (UTC) Received: (qmail 75488 invoked by uid 500); 25 Jun 2012 15:55:48 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 75451 invoked by uid 500); 25 Jun 2012 15:55:48 -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 75443 invoked by uid 99); 25 Jun 2012 15:55:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 15:55:48 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.173 as permitted sender) Received: from [209.85.217.173] (HELO mail-lb0-f173.google.com) (209.85.217.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 15:55:44 +0000 Received: by lbok6 with SMTP id k6so8384032lbo.32 for ; Mon, 25 Jun 2012 08:55:23 -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; bh=/VOlWwzYPFU1wOaq8h9LB554HaKdRRPcS90q0n5p6Oc=; b=BUkQm9FV4FOfk/87+lxu25225c4zYuVZQnYzNpSv+GgHLIZIAIzmGB1qyeiI/I71MI cSWUondTB/zRq4nD/NSesg50P13yCq3H0ZhomfHj3/JF8x3SnyZyYGPWaNBegXWcBT+A 7xf5My2cY8t0pY2gMgPf7lnowiPYml1urKkYhd0YosucPE3n186dF3vojGAqNhoCUxoL 2CbGQRWDCleDyS9BMdaeHIZPwa81RFrhCJkLaRtyYjFoKLvK9W+iiHEKRiCdn4tjMzCH Ax8suuiPJK4RgPBxdhMvM7+HxRYlWfIpbaa0DZKrMedI9hvXptXQo08/2ZujMqQklFQD mHYw== Received: by 10.112.23.42 with SMTP id j10mr6048568lbf.20.1340639722860; Mon, 25 Jun 2012 08:55:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.49.73 with HTTP; Mon, 25 Jun 2012 08:55:02 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Mon, 25 Jun 2012 17:55:02 +0200 Message-ID: Subject: Re: Using Camel in web-app without Spring To: users@camel.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi How would you bootstrap Camel in the web app? For example using a servlet or context listener? But then how would it know which routes / and whatnot to include? I guess either some new fancy CDI or you would have to refer to a config file / java class or whatnot? On Mon, Jun 25, 2012 at 4:41 PM, Bilgin Ibryam wrote: > Hi, > > is there any example or a helper class for running (starting/stopping) > Camel in a web-app without using Spring xml? > > There is an example servlet app [1] and a tutorial [2] for running Camel in > a web-app, but both are using Spring > > [1] http://camel.apache.org/servlet-tomcat-example.html > [2] > http://camel.apache.org/tutorial-on-using-camel-in-a-web-application.html > > > Bilgin -- 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