Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BCBB810A41 for ; Wed, 3 Jul 2013 13:47:58 +0000 (UTC) Received: (qmail 17630 invoked by uid 500); 3 Jul 2013 13:47:57 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 17222 invoked by uid 500); 3 Jul 2013 13:47:54 -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 17207 invoked by uid 99); 3 Jul 2013 13:47:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 13:47:53 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.217.172 as permitted sender) Received: from [209.85.217.172] (HELO mail-lb0-f172.google.com) (209.85.217.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Jul 2013 13:47:50 +0000 Received: by mail-lb0-f172.google.com with SMTP id v20so239498lbc.17 for ; Wed, 03 Jul 2013 06:47:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=PYMPtSWqtPgl8XSI01xuQSCYRumIK4XBIqDui0kW0o8=; b=i2iIH0u/PWvQF0xWONADvLCqFmAGd5I7qih2Rn1E4aYRsDgaVjns8q84PFvlRAH7wC GefadZnmfwP9+xe6UEfnoGODClCZXi4u9udg9jyp54m3oKdRhH2z+vhOYNnJFvx2/sxc 7zSABedErXi+2tK1+iq5kDtw2V5svguXjDsfQ6g8zq57/eENMdCEHMMLKLIebJpt0QMU ZhI4donTgI7qfji9M4jZdDZ+clIEh+XU6uBnjFRrAZkK/6JDYqINSOoyMmF1+cZeq6Zz 3YM+dAmluo54YneCg6KCUTvka7Wv1bHzU7lD+Q01MSpMorBmlZB2pb7z/nwgwjYi9+2i 6p+g== MIME-Version: 1.0 X-Received: by 10.112.171.66 with SMTP id as2mr1290351lbc.57.1372859248537; Wed, 03 Jul 2013 06:47:28 -0700 (PDT) Received: by 10.114.185.37 with HTTP; Wed, 3 Jul 2013 06:47:28 -0700 (PDT) In-Reply-To: <1372821902378-4668827.post@n4.nabble.com> References: <1372569275289-4668724.post@n4.nabble.com> <1372781846202-4668801.post@n4.nabble.com> <1372785331285-4668805.post@n4.nabble.com> <1372821902378-4668827.post@n4.nabble.com> Date: Wed, 3 Jul 2013 09:47:28 -0400 Message-ID: Subject: Re: Regarding AMQ-4181 - JMS queue browser returns only page size number of messages From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=001a11c2675cd5f68b04e09bb3dd X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2675cd5f68b04e09bb3dd Content-Type: text/plain; charset=ISO-8859-1 Try increasing your memory limits for that destination. Instead of 1MB try 5 On Tue, Jul 2, 2013 at 11:25 PM, binita.bharati wrote: > Oh.. > It is the same test case that is failing for my version of external broker > (ActiveMQ 5.8.0 installed on MAC OSX 10.8.3). > > I am getting the factory instance by plainly doing a : > ActiveMQConnectionFactory factory = new > ActiveMQConnectionFactory("tcp://localhost:61616"); > No BrokerService related code is present in my test case. I just ran my > testcase again, with higher number of messages (1000 messages sent) . The > new test case link is - > http://pastebin.com/zNC1LLz8 > It again failed , here is the assertion error I got : > > java.lang.AssertionError: > Expected :1000 > Actual :239 > > at org.junit.Assert.fail(Assert.java:92) > at org.junit.Assert.failNotEquals(Assert.java:689) > at org.junit.Assert.assertEquals(Assert.java:127) > at org.junit.Assert.assertEquals(Assert.java:514) > at org.junit.Assert.assertEquals(Assert.java:498) > at QueueBrowsingTest.testBrowsing(QueueBrowsingTest.java:56) > > I have this entry made into my activemq.xml conf file: > maxPageSize="9999" maxBrowsePageSize="9999"> > Had added the attributes maxPageSize and maxBrowsePageSize , after it was > mentioned in some forum to try with these attributes set to some large > number. > > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Regarding-AMQ-4181-JMS-queue-browser-returns-only-page-size-number-of-messages-tp4668724p4668827.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --001a11c2675cd5f68b04e09bb3dd--