Return-Path: Delivered-To: apmail-activemq-camel-user-archive@locus.apache.org Received: (qmail 29203 invoked from network); 12 Nov 2007 10:33:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Nov 2007 10:33:00 -0000 Received: (qmail 55115 invoked by uid 500); 12 Nov 2007 10:32:48 -0000 Delivered-To: apmail-activemq-camel-user-archive@activemq.apache.org Received: (qmail 55092 invoked by uid 500); 12 Nov 2007 10:32:48 -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 55082 invoked by uid 99); 12 Nov 2007 10:32:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 02:32:48 -0800 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 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2007 10:32:49 +0000 Received: by py-out-1112.google.com with SMTP id p76so1200473pyb for ; Mon, 12 Nov 2007 02:32:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; 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; bh=KmjnuFC5hXD0g+QpoNnFBoGMVZHFmg8iBvyjtRIABM4=; b=QplbKQIjA9za9cJ3jNJZ/KaeJQe7rbxc0SlP9e9cB/UZjGVNdEU/+bkh+9nmCjrYJFHQ/Xj8ne1yFOSoi0i3DzvTlbY1ekKKmU90T/6IGcVljWpdaH3OMQSzLtsoybZjQ36JMx1SbFgFYWdPU1DMmmTO8WuwiHueE6rj8kL2T6M= 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=GPkzO9NnPziSu/MbpWHo8QkDoYytVUstZ9P/d+YszW/MNum86wcfJoVhkgcieZE/CDTOITLN1im5i0aAtRTYQchLaRoxBXaxiFK3qe8Y1Ic1BPqcrMmTI69Oq/5ilPkeLf32prBzTxoLq1MOj1ipcl7ZEEdVhoBUzioIpv+0Dus= Received: by 10.65.40.16 with SMTP id s16mr13488218qbj.1194863545885; Mon, 12 Nov 2007 02:32:25 -0800 (PST) Received: by 10.65.204.2 with HTTP; Mon, 12 Nov 2007 02:32:25 -0800 (PST) Message-ID: Date: Mon, 12 Nov 2007 10:32:25 +0000 From: "James Strachan" To: camel-user@activemq.apache.org Subject: Re: Camel keeps adding and removing Consumers when using DefaultMessageListenerContainer In-Reply-To: <13669076.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13669076.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Just to be a pedant; its Spring's MessageListenerContainer which keeps adding/removing JMS consumers :)... On 09/11/2007, oliT wrote: > > hi there, > > Setup: > Spring 2.1 > Camel 1.2 > ActiveMQ 5 the latest snapshot > > SampleConfiguration: > this is just the minimal configuration to trigger the issue: I'm a bit confused how you are creating Camel and running the routes? e.g. > class="org.apache.activemq.pool.PooledConnectionFactory"> > > > > > > > > > > > > > > factory-method="getEndpoint"> > > What is camelEndpointFactory ? > > > > > > > > > > > > > > > > I'm not sure what this is meant to do? So its a bit hard to track down as I can't see how you are using Camel. Any reason why you are not defining a then either using or inside there? -- James ------- http://macstrac.blogspot.com/ Open Source SOA http://open.iona.com