Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 57914 invoked from network); 5 Jul 2007 19:51:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2007 19:51:47 -0000 Received: (qmail 48217 invoked by uid 500); 5 Jul 2007 19:51:50 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 48195 invoked by uid 500); 5 Jul 2007 19:51:50 -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 48186 invoked by uid 99); 5 Jul 2007 19:51:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 12:51:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of paul.dlug@gmail.com designates 209.85.132.244 as permitted sender) Received: from [209.85.132.244] (HELO an-out-0708.google.com) (209.85.132.244) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2007 12:51:44 -0700 Received: by an-out-0708.google.com with SMTP id b8so570012ana for ; Thu, 05 Jul 2007 12:51:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uF7iwBLXC7CbcF8JJRmQ6lKHJCJdG9bQDp+eC6ekVR5RbR5laZAoalU7iIIZhsdZGdOFV4RcJ31/rRH6o4F2rDsWVf7zkQwLVhW4xLg+H8ID4wwx7jsVuaUZEuol9Wlz7tIgcT5WQcRVwhPV2hDXvkXFuYADJPV6ohI6Gzj49BA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DsWZjM6nfoVVURExK7pG3+ytdbWkIozii94B+r64se/jvBYFdo5gz8/UjfDyVEyrD2ZQ+PbPl/HBR/rFwveoLoxImZlXF8U+3NAifBQAEDr0WKfjZRkX0mbQu4NK+rRjAJIKJqEjNcZp8nC7C5HS1nrZW4cIJmuKU6kF3yWgAdU= Received: by 10.100.44.13 with SMTP id r13mr5491481anr.1183665083323; Thu, 05 Jul 2007 12:51:23 -0700 (PDT) Received: by 10.100.177.2 with HTTP; Thu, 5 Jul 2007 12:51:22 -0700 (PDT) Message-ID: Date: Thu, 5 Jul 2007 15:51:22 -0400 From: "Paul Dlug" To: camel-user@activemq.apache.org Subject: Re: Appropriate use case for Camel? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org On 7/3/07, James Strachan wrote: > On 7/3/07, Paul Dlug wrote: > > On 7/3/07, James Strachan wrote: > > > On 7/3/07, James Strachan wrote: > > > > On 7/3/07, Paul Dlug wrote: > > > > > Hopefully this is an easy answer. I'm a bit unclear on how Camel > > > > > should actually be used. I'm currently using ActiveMQ to do some basic > > > > > integration between applications in Java, Ruby, Perl, primarily via > > > > > STOMP. I'd like to use Camel to apply some of the enterprise > > > > > integration patterns, especially as it applies to routing as well as > > > > > using some of the built in connectors. From a quick read through the > > > > > docs it appears that I need to build Camel into an application itself > > > > > (in a servlet container or via spring). Is it possible to just run > > > > > Camel inside an ActiveMQ server to configure queues and handle routing > > > > > and other patterns? > > > > > > > > Absolutely! Actually its on my list of things to do to provide some > > > > examples of how to drop camel into the activemq.xml file. > > > > > > Actually it turned out to be way easier than I thought! > > > > > > http://cwiki.apache.org/ACTIVEMQ/enterprise-integration-patterns.html > > > > > > So you could just download tomorrows 5.0 snapshot and you're good to go... > > > > Thanks James! I've been building 5.0 from subversion anyway so I just > > updated my local copy and I'll give this a shot. > > Great! Let us know how you get on & if there's anything we can do to > make it easier to use Camel from inside the ActiveMQ broker Perhaps I'm still a bit unclear on how to use this, I specified the following config: Which as I understand it should take messages addressed to the queue "a" and send them to "b". This doesn't seem to actually work though, I've tried changing the endpoints from "queue:a" to "activemq:a" but that didn't seem to help. Any tips for a newbie? Another question I have is, how do I reload new definitions without restarting? I've I'd like to change destinations or filtering how can I do that on the fly and be sure I'm not dropping any messages? Thanks, Paul