Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 73311 invoked from network); 18 Dec 2008 16:52:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 16:52:20 -0000 Received: (qmail 62450 invoked by uid 500); 18 Dec 2008 16:52:32 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 62425 invoked by uid 500); 18 Dec 2008 16:52:32 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 62349 invoked by uid 99); 18 Dec 2008 16:52:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 08:52:32 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of james.strachan@gmail.com designates 74.125.46.158 as permitted sender) Received: from [74.125.46.158] (HELO yw-out-1718.google.com) (74.125.46.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 16:52:09 +0000 Received: by yw-out-1718.google.com with SMTP id 6so167060ywa.86 for ; Thu, 18 Dec 2008 08:51:49 -0800 (PST) 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=is9XvwPN9nBN3rcrsfNDbkbaSz9auxEj3RGeYNlEKhc=; b=CVoul4E82E/4jp4ZtnrN8cjktow+OC+DlGDHdRuQJOLm2C0ZCsVW4xoifE0Z//UtoX H0qzdmDTl20JmoYxITXdto58wEPln1tDM1kUCCTPqh+81y+joi9cysspiAbobiRCQTt5 ty0jD+OOkxWzmmBMIX8trm5p6ZTXTyQ+ve3n8= 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=vI+fUzMJUJsik2Sl9PVXx8km/he+pz0ElriB73GSOhyIKG+Aww/kGPvwciKLFyC248 CmnN2RolKoLkytsl6GhK61tPTilBIvPZ4jM++Ks3BuEOf+4q0gS9KOh7bbCNuUlyeL5B oqV4vgBlhDyQT7+2nN8u5ahnSsACLCs1bKL34= Received: by 10.150.98.18 with SMTP id v18mr3815744ybb.83.1229619108974; Thu, 18 Dec 2008 08:51:48 -0800 (PST) Received: by 10.151.75.12 with HTTP; Thu, 18 Dec 2008 08:51:48 -0800 (PST) Message-ID: Date: Thu, 18 Dec 2008 16:51:48 +0000 From: "James Strachan" To: camel-dev@activemq.apache.org Subject: Re: Why is ServerRoutes a java file? In-Reply-To: <21076469.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <21076469.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 2008/12/18 asaksena1 : > > For configuring simple Server Routes (if I'm not doing any transformation > etc. using EIP) > e.g. > from("jms:queue:order").to("orderFinder"); > > Can we not have ServerRoutes and a simple xml configuration file? (or > something similar) Sure - use whichever you prefer - Java, Scala or XML > Also, I reckon every time we make a change to ServerRoutes, we have to > bounce the Camel Engine. Is there a way to get around it? Deploy your Spring XML document inside the ServiceMix Kernel which will hot-reload on change to the XML and redeploy your EIP routes dynamically http://servicemix.apache.org/SMX4KNL/index.html We should probably have a tutorial/demo somewhere showing this in action... -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/