Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 4364 invoked from network); 14 Dec 2007 18:34:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2007 18:34:16 -0000 Received: (qmail 67404 invoked by uid 500); 14 Dec 2007 18:34:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 67374 invoked by uid 500); 14 Dec 2007 18:34: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 67365 invoked by uid 99); 14 Dec 2007 18:34:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 10:34:04 -0800 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 chirino@gmail.com designates 209.85.198.186 as permitted sender) Received: from [209.85.198.186] (HELO rv-out-0910.google.com) (209.85.198.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 18:33:41 +0000 Received: by rv-out-0910.google.com with SMTP id l15so888436rvb.26 for ; Fri, 14 Dec 2007 10:33:45 -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:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; bh=wUXox8DScqJYiLx0vQluHOWtm1wS7k8VdId3q5ypWG4=; b=T10gbZ6chLgbZ+s4WI3UwkuwhiFiLuxTFVCvGD5YEAUyWIGRoAcneBy5M/F+4kh1MLnCISgnigRgy3g16yRaa4HJdW7mU+BaBu8WzN0zbkoIpB+ufrVEfGdWIHcNxxbUq52aKmMNSyt1yz9TBLUGzkFVLBaF5CVLCatYUu+4tPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KJchLsuAn/skCi4NFtmWrbU7mvfJ/oTrVhNTK9SOgMYETOFsqkgYNidNOBnOnVWNzjvorpKElrP7u0U00pdLKChvhjBpy7Ix13wzTvy2LQPWnNxe+msGRD5RiveOonNfn0jC3mBtSDrU4s5LaMxcN+VfZKdtUKU5bUP/dM70L0Q= Received: by 10.140.250.14 with SMTP id x14mr2095267rvh.119.1197657224884; Fri, 14 Dec 2007 10:33:44 -0800 (PST) Received: by 10.140.141.1 with HTTP; Fri, 14 Dec 2007 10:33:44 -0800 (PST) Message-ID: Date: Fri, 14 Dec 2007 13:33:44 -0500 From: "Hiram Chirino" Sender: chirino@gmail.com To: users@activemq.apache.org Subject: Re: Prioritizing message delivery across overlapping wildcards In-Reply-To: <14301441.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14301441.post@talk.nabble.com> X-Google-Sender-Auth: cb7fc201c16f6df5 X-Virus-Checked: Checked by ClamAV on apache.org Hi yes.. exclusive with priorities should work! They were designed for that. But I warn you that all 3 features used in combination has not been highly tested. Please try it out and let us know your results. If you develop any junit tests to confirm the expected behavior please contribute those back to the project so that we can ensure future compatibility. On Dec 12, 2007 1:56 PM, qwidjibo wrote: > > > Hi All. > > I've got a problem that I'm not sure if I can solve in AMQ (I'm using > 4.1.1). > > I would like to have listeners active on overlapping queue wildcards. For > example, listener 1 listens to FOO.* and listener 2 listens to *.BAR. > > This should be all well and good until I get the message FOO.BAR. I'd like > to be able to configure some form of precedence about which one should get > the message in that case. > > From what I've read of exclusive consumers, I think I can fake this when > I've only got one layer by making the FOO.* consumer exclusive, thus forcing > the FOO.BAR message to go to listener 1. My first question is can anybody > confirm that this will or won't work? > > My second question is this: can I make this work across multiple levels. I > get the sense that consumer priorities _might_ let me achieve this, but the > documentation on those is somewhat vague. > > > Thanks! > > > Nicholas Hanssens > Platform Architect > LocaModa.com > > > > > > > > -- > View this message in context: http://www.nabble.com/Prioritizing-message-delivery-across-overlapping-wildcards-tp14301441s2354p14301441.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- Regards, Hiram Blog: http://hiramchirino.com Open Source SOA http://open.iona.com