Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 14505 invoked from network); 7 Oct 2008 08:08:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Oct 2008 08:08:10 -0000 Received: (qmail 79756 invoked by uid 500); 7 Oct 2008 08:08:09 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 79727 invoked by uid 500); 7 Oct 2008 08:08:09 -0000 Mailing-List: contact camel-user-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-user@activemq.apache.org Delivered-To: mailing list camel-user@activemq.apache.org Received: (qmail 79716 invoked by uid 99); 7 Oct 2008 08:08:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 01:08:09 -0700 X-ASF-Spam-Status: No, hits=2.7 required=10.0 tests=DNS_FROM_OPENWHOIS,DNS_FROM_SECURITYSAGE,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Oct 2008 08:07:04 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kn7bX-00040q-DL for camel-user@activemq.apache.org; Tue, 07 Oct 2008 01:07:39 -0700 Message-ID: <19853284.post@talk.nabble.com> Date: Tue, 7 Oct 2008 01:07:39 -0700 (PDT) From: cmoulliard To: camel-user@activemq.apache.org Subject: Re: Canonical Setup In-Reply-To: <612223.3142.qm@web57416.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: cmoulliard@gmail.com References: <612223.3142.qm@web57416.mail.re1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I propose that you have a look to the spring-integration project which is integrated with Camel as a component now. http://activemq.apache.org/camel/springintegration.html According to this approach, you can spring endpoint to send from spring messages and/or consume them from Camel. This approach creates a kind of abstraction that you are looking for. Otherwise, you have to use by example webservices (designed with apache cxf) that you will use between Camel and your web application Regards, Charles Moulliard Me Coder wrote: > > I have read through "all" camel docs and managed a few simple setup, but I > can't figure the below "canonical" setup: > > WebApp (uses Srping and starting point to send data to all endpoints) > EndPoint1 ... EndPoint-n (all pojos, need to keep them as pojos and > independent of camel as much as possible). > > Between the WebApp and the EndPoints, in a production system, we will > probably use JMS. In the dev environment, we'd like WebApp and EndPoint > to exist in the WebApp "process context". > > How do I go about with a setup to enable fast boot and test in the dev > environment and at the same time I can achieve the prod architecture with > minimal configuration changes? > > In other words, I need to keep the communications between the WebApp and > its EndPoints as independent of the underlying transport and isolate Camel > API classes as much as possible. > > Does anyone have a setup handy they can share? > > Thanks... > > > > > > ----- Enterprise Architect Xpectis 12, route d'Esch L-1470 Luxembourg Phone +352 25 10 70 470 Mobile +352 621 45 36 22 e-mail : cmoulliard@xpectis.com web site : www.xpectis.com www.xpectis.com My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ -- View this message in context: http://www.nabble.com/Canonical-Setup-tp19844927s22882p19853284.html Sent from the Camel - Users mailing list archive at Nabble.com.