Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 60822 invoked from network); 11 Sep 2008 09:53:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2008 09:53:58 -0000 Received: (qmail 9801 invoked by uid 500); 11 Sep 2008 09:53:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 9781 invoked by uid 500); 11 Sep 2008 09:53:54 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 9770 invoked by uid 99); 11 Sep 2008 09:53:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2008 02:53:53 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 209.85.217.15 as permitted sender) Received: from [209.85.217.15] (HELO mail-gx0-f15.google.com) (209.85.217.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2008 09:52:55 +0000 Received: by gxk8 with SMTP id 8so15699154gxk.14 for ; Thu, 11 Sep 2008 02:52:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=OtkJoxYs+AvIlRnUCaKbA2RPo60PAiU5OCcq8oU7BsU=; b=XZpbE59lcwLmhM2/y+QK0m/NKE/H8osE3JnZOUkbWVg8QjOKgbOCNIqNq9wO6buJv1 ST5GA1NMrUG53c6vtyD/aQpWaKE1pcPj+V+6yFlKo6RhiI+yzPgYtFP24ObncagvfDe9 UfKAXoK1fo1v2tBFnxEfBiUA8glTDE280tSj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uo713788RonWzP7YYJtNEt3HNU+TPzMaWqM/RJ8yJb3vXFpAGg1+Z5PBX0aRJ+sbJT RyFSKq8JgkBlGJ9Aga1gSbfyMwKi13KE4VAHJYc8etioIUMrmKPFlJpVPe8VY9MXEiZ2 hGrsS5swhKFYN5ofOkzhqj7STB2Mj4U68t4W4= Received: by 10.90.79.17 with SMTP id c17mr3007418agb.67.1221126746390; Thu, 11 Sep 2008 02:52:26 -0700 (PDT) Received: by 10.90.117.12 with HTTP; Thu, 11 Sep 2008 02:52:26 -0700 (PDT) Message-ID: Date: Thu, 11 Sep 2008 10:52:26 +0100 From: "James Strachan" To: users@activemq.apache.org Subject: Re: Need help understanding Camel server and Client deployments In-Reply-To: <4c30ee7d0809101301q18333e4j9153049612046ce0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4c30ee7d0809101301q18333e4j9153049612046ce0@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org BTW there is a forum & mailing list for Camel specific questions... http://activemq.apache.org/camel/discussion-forums.html 2008/9/10 Mick Knutson : > I am looking through the examples, and they all package a jar, then run 'mvn > camel:run' which, I assume is an embedded camel/amq server. Correct? > > If not, please tell me. Most of the examples try to be a simple self contained demo so its easy to run. But its pretty trivial to use camel as a client, in a separate JVM to the message broker. > If so, where can I find a tutorial on production deployments to my AMQ / > Tomcat ? > I really do not want to use embedded first, I want to use the full > deployment mech. Just treat Camel like any other Spring application; adding your Camel XML inside your Spring /WEB-INF/applicationContext.xml. I've written a brief tutorial to give you an idea http://cwiki.apache.org/CAMEL/tutorial-on-using-camel-in-a-web-application.html -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com