Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 20276 invoked from network); 26 Aug 2008 09:04:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Aug 2008 09:04:10 -0000 Received: (qmail 99572 invoked by uid 500); 26 Aug 2008 09:04:08 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 99555 invoked by uid 500); 26 Aug 2008 09:04:08 -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 99544 invoked by uid 99); 26 Aug 2008 09:04:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Aug 2008 02:04:08 -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; Tue, 26 Aug 2008 09:03:10 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KXuSh-0001LE-Mu for users@activemq.apache.org; Tue, 26 Aug 2008 02:03:39 -0700 Message-ID: <19158325.post@talk.nabble.com> Date: Tue, 26 Aug 2008 02:03:39 -0700 (PDT) From: Jecsiac To: users@activemq.apache.org Subject: Re: Problem with Selector In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jecsiac@163.com References: <19157015.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks a lot at first. No, I'm not trying to do request/response over JMS. I use receiveNoWait() because I need to return immediately when there's no message in the queue. I'll try receive(some time) later. However, it is so regret that different JMS providers behave so differently... My codes go well on some other providers, but, if I want to use ActiveMQ, it seems I have to make some modification... -- View this message in context: http://www.nabble.com/Problem-with-Selector-tp19157015p19158325.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.