Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 60319 invoked from network); 1 Sep 2008 13:48:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Sep 2008 13:48:09 -0000 Received: (qmail 63062 invoked by uid 500); 1 Sep 2008 13:48:07 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 63029 invoked by uid 500); 1 Sep 2008 13:48:07 -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 63017 invoked by uid 99); 1 Sep 2008 13:48:07 -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 06:48:07 -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 13:47:08 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ka9ko-0004Jy-EJ for dev@activemq.apache.org; Mon, 01 Sep 2008 06:47:38 -0700 Message-ID: <19255012.post@talk.nabble.com> Date: Mon, 1 Sep 2008 06:47:38 -0700 (PDT) From: rodih To: dev@activemq.apache.org Subject: Setting a consumer with selector on a queue - Messages not found MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: roded.hess@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org 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. Thanks Rodih -- View this message in context: http://www.nabble.com/Setting-a-consumer-with-selector-on-a-queue---Messages-not-found-tp19255012p19255012.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.