Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 44002 invoked from network); 4 Feb 2010 18:43:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Feb 2010 18:43:26 -0000 Received: (qmail 29231 invoked by uid 500); 4 Feb 2010 18:43:25 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 29186 invoked by uid 500); 4 Feb 2010 18:43:25 -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 29176 invoked by uid 99); 4 Feb 2010 18:43:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 18:43:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gary.tully@gmail.com designates 209.85.220.213 as permitted sender) Received: from [209.85.220.213] (HELO mail-fx0-f213.google.com) (209.85.220.213) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2010 18:43:15 +0000 Received: by fxm5 with SMTP id 5so3198300fxm.15 for ; Thu, 04 Feb 2010 10:42:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=DsCck/kt4S39cYqkh9ZpqYSD4xXkGmkI3X8YrIpHuxk=; b=SEJexMeO+Ij0L2oRs0GYf8MhKSK0ZkxSdpSpx+mebyUdupF5cg/GcEwZCWETew8HeA kV17kCfXDp75B0MFFfcZfyFa7IOWXW0VsShK5Xe/OgooAEhElUaMYbfa4aWHnvzeeTwN obKKj7wjojAWN7tMbKx7GUTxP5fPB33xfaKR8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=qf3quOnsZjLYT16i7OUeamcT0HPxfAE5I8G1bL9CKJei/mIwoP8YHzyFKIoScZ3pNx W/3+JuxkO9kf0bj6loul7BjTiqh0lGlfNJ8x4muxFL8DIHHSR99ozwGUumRKYRYkfvtD 2Te5bAzV6wHatMYPuX+VDKctZN96gLnBe9XoM= MIME-Version: 1.0 Received: by 10.223.5.207 with SMTP id 15mr1666998faw.26.1265308974432; Thu, 04 Feb 2010 10:42:54 -0800 (PST) In-Reply-To: <27451302.post@talk.nabble.com> References: <27451302.post@talk.nabble.com> Date: Thu, 4 Feb 2010 18:42:54 +0000 Message-ID: <3a73c17c1002041042u3c950029jb8893609081ba16b@mail.gmail.com> Subject: Re: Session.setMessageListener not working in 5.3.2 From: Gary Tully To: users@activemq.apache.org Content-Type: multipart/alternative; boundary=001517478ce4f3c21c047ecab3ed X-Virus-Checked: Checked by ClamAV on apache.org --001517478ce4f3c21c047ecab3ed Content-Type: text/plain; charset=ISO-8859-1 with prefetch=0 it should work ok as this will force a receive() to poke the broker rather than depending on async delivery. change: queue = session.createQueue("TEST"); to queue = session.createQueue("TEST?consumer.prefetchSize=0"); On 4 February 2010 11:33, colincrist wrote: > > See attached unit test. The receiveOneMessageUsingSessionListener() test > hangs. > > Tests all work okay with, for example, Tibco EMS. > > http://old.nabble.com/file/p27451302/PublicTestMessageExchange.java > PublicTestMessageExchange.java > > Regards, > > Colin. > -- > View this message in context: > http://old.nabble.com/Session.setMessageListener-not-working-in-5.3.2-tp27451302p27451302.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- http://blog.garytully.com Open Source Integration http://fusesource.com --001517478ce4f3c21c047ecab3ed--