Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 20629 invoked from network); 1 Sep 2008 15:19:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 15:19:11 -0000 Received: (qmail 94479 invoked by uid 500); 1 Sep 2008 15:19:09 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 94440 invoked by uid 500); 1 Sep 2008 15:19:09 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 94429 invoked by uid 99); 1 Sep 2008 15:19:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 08:19:09 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Sep 2008 15:18:09 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KaBAt-00083n-KF for dev@activemq.apache.org; Mon, 01 Sep 2008 08:18:39 -0700 Message-ID: <19256418.post@talk.nabble.com> Date: Mon, 1 Sep 2008 08:18:39 -0700 (PDT) From: rodih To: dev@activemq.apache.org Subject: Re: Setting a consumer with selector on a queue - Messages not found In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: roded.hess@gmail.com References: <19255012.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org OK The following link solved the problem. http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html Im now closing explicitly the consumers. Thanks! Rodih James.Strachan wrote: > > 2008/9/1 rodih : >> >> Hi, >> I set a selector on a property and creates a consumer with that selector >> on >> a Queue destination. >> >> when I browse to check if a message exist with QueueBrowser the message >> is >> found as expected. >> But...When I try to recieve the message with the same selector the >> message >> is not retrieved. >> Why is that? >> >> Im doing something wrong as when I'm not setting any selector on the >> consumer I dont get messages as expected as well. >> >> To make things a bit more strange (for me) sometimes the consumer >> recieves >> the message and sometimes not. >> http://www.nabble.com/file/p19255012/someCode.txt someCode.txt >> Some code is attached in a file. > > Are you hitting either of these FAQ entries? > http://activemq.apache.org/i-am-not-receiving-any-messages-what-is-wrong.html > http://activemq.apache.org/i-do-not-receive-messages-in-my-second-consumer.html > > here's how to get better help > http://activemq.apache.org/support.html > > > -- > James > ------- > http://macstrac.blogspot.com/ > > Open Source Integration > http://open.iona.com > > -- View this message in context: http://www.nabble.com/Setting-a-consumer-with-selector-on-a-queue---Messages-not-found-tp19255012p19256418.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.