Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 53361 invoked from network); 27 May 2009 22:47:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 May 2009 22:47:17 -0000 Received: (qmail 4361 invoked by uid 500); 27 May 2009 21:02:51 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 4345 invoked by uid 500); 27 May 2009 21:02:51 -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 4335 invoked by uid 99); 27 May 2009 21:02:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2009 21:02:50 +0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=FORGED_HOTMAIL_RCVD2,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.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; Wed, 27 May 2009 21:02:40 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1M9QGR-0007ge-Hy for dev@activemq.apache.org; Wed, 27 May 2009 14:02:19 -0700 Message-ID: <23750757.post@talk.nabble.com> Date: Wed, 27 May 2009 14:02:19 -0700 (PDT) From: Websphere and ActiveMQ To: dev@activemq.apache.org Subject: ReceiveNoWait doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: derrickcui@hotmail.com X-Virus-Checked: Checked by ClamAV on apache.org I tried to use ReceiveNoWait method to receive message, but my Java Client can not receive message even the message is in the Queue. always return null. If I run java client many many times, maybe I can receive the message. -- View this message in context: http://www.nabble.com/ReceiveNoWait-doesn%27t-work-tp23750757p23750757.html Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.