Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 22813 invoked from network); 28 Oct 2007 07:13:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2007 07:13:17 -0000 Received: (qmail 9956 invoked by uid 500); 28 Oct 2007 07:13:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 9937 invoked by uid 500); 28 Oct 2007 07:13:04 -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 9928 invoked by uid 99); 28 Oct 2007 07:13:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 00:13:04 -0700 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rajdavies@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 07:13:04 +0000 Received: by ug-out-1314.google.com with SMTP id k3so837161ugf for ; Sun, 28 Oct 2007 00:12:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; bh=2fHibUHhyBNltlebWHyop6JTvqIcGvafempUe7ANULs=; b=de5Jet3VSyX8y2EM4eBCigJIY7CP++gQReCvgCUxR4Bce0GpU8DVfOItMcng9V9ISMh2G4jbzU0rCIkIDLJ6wzYu8zfqvv0PSpQDqx9bJqfw3JuB06YQJ/JWTPbWg352Cb7J3zmZ57AM0x/WSSmJRrQx+xe/G04zgaybulrRChU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:mime-version:in-reply-to:references:content-type:message-id:content-transfer-encoding:from:subject:date:to:x-mailer; b=tHFLqSbLG/4jhU5cic/PW/xg+KO6tHK1+ktIeQlff0zbyrqw2s1C0rOF3dZ3GcrfwbP79Boljb+58buqgj1smoLBEHvIi3cCITf2f4da7tj/ghHYLxfxfSvncljZKLGHK2Qb1rEcJ4CYHiR/0Sb484kf/ruZn9a5mixsaIZEr1w= Received: by 10.67.31.5 with SMTP id i5mr3377123ugj.1193555562917; Sun, 28 Oct 2007 00:12:42 -0700 (PDT) Received: from ?192.168.1.67? ( [81.132.70.11]) by mx.google.com with ESMTPS id k7sm5391492nfh.2007.10.28.00.12.40 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 28 Oct 2007 00:12:41 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <13448310.post@talk.nabble.com> References: <13420475.post@talk.nabble.com> <13448310.post@talk.nabble.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6A9D9523-F4E7-4073-ACF9-B1B422C40028@gmail.com> Content-Transfer-Encoding: 7bit From: Rob Davies Subject: Re: trying to combine failover and prefetchPolicy Date: Sun, 28 Oct 2007 07:12:36 +0000 To: users@activemq.apache.org X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org Have you looked at this: http://activemq.apache.org/failover- transport-reference.html try: failover:(tcp://qserver:61616? jms.prefetchPolicy.queuePrefetch=1,tcp://qserver:61616? jms.prefetchPolicy.queuePrefetch=1) cheers, Rob http://rajdavies.blogspot.com/ On Oct 27, 2007, at 11:59 PM, jlkinsel wrote: > > sooo....nobody is using activeMQ through Spring with failover and > small > prefetch queue sizes. OK. > > How about this - can anybody point me at a single doc which > explains the > best way to use activeMQ, versus a wiki with a bunch of scattered > information? > > > jlkinsel wrote: >> >> Hey guys - I'm using ActiveMQ through Spring, with the client >> configured >> through my spring xml files. I'm trying to get a client to >> connect to a >> broker with two features enabled: >> a) I want failover turned on as the network between the client/ >> server is >> slightly flakey, and >> b) I want to set my queuePrefetch size to 1. >> >> I would think this means something like >> > value="failover:tcp://qserver:61616? >> jms.prefetchPolicy.queuePrefetch=1,tcp://qserver:61616? >> jms.prefetchPolicy.queuePrefetch=1"/> >> >> but this causes errors. If I just have the queuePrefetch option >> on the >> second uri, it doesn't give an error, but i'm not convinced that the >> queuePrefetch size of the first uri is going to be 1. >> >> Any thoughts as to what I'm doing wrong here? >> >> > > -- > View this message in context: http://www.nabble.com/trying-to- > combine-failover-and-prefetchPolicy-tf4695041s2354.html#a13448310 > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >