You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Eric Rich (JIRA)" <ji...@apache.org> on 2008/05/16 19:28:44 UTC

[jira] Created: (AMQ-1734) Messages are skipped when preFetchSize > 0

Messages are skipped when preFetchSize > 0
------------------------------------------

                 Key: AMQ-1734
                 URL: https://issues.apache.org/activemq/browse/AMQ-1734
             Project: ActiveMQ
          Issue Type: Test
          Components: Broker
    Affects Versions: 5.1.0
         Environment: Windows XP, Sun Java 5
            Reporter: Eric Rich
         Attachments: activemqtest.zip

The attached test case is reliable when preFetchSize = 0. Messages are skipped often when preFetchSize > 0. I may be overlooking something perhaps.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (AMQ-1734) Messages are skipped when preFetchSize > 0

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino resolved AMQ-1734.
--------------------------------

    Resolution: Won't Fix

Yes you did overlook something..  The missing messages are sitting in prefetch of the consumer you created in the setUp() method used to clear out the queue.  Since you did not close him down, activemq is dispatching messages to him too, but your test does not consume those messages.

> Messages are skipped when preFetchSize > 0
> ------------------------------------------
>
>                 Key: AMQ-1734
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1734
>             Project: ActiveMQ
>          Issue Type: Test
>          Components: Broker
>    Affects Versions: 5.1.0
>         Environment: Windows XP, Sun Java 5
>            Reporter: Eric Rich
>         Attachments: activemqtest.zip
>
>
> The attached test case is reliable when preFetchSize = 0. Messages are skipped often when preFetchSize > 0. I may be overlooking something perhaps.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.