You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Rob Davies (JIRA)" <ji...@apache.org> on 2009/09/11 20:27:12 UTC

[jira] Resolved: (AMQ-1209) Producer Blocks even after emptying out queues on v 4.2

     [ https://issues.apache.org/activemq/browse/AMQ-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Davies resolved AMQ-1209.
-----------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 5.4.0)
                   5.3.0
         Assignee: Rob Davies

> Producer Blocks even after emptying out queues on v 4.2
> -------------------------------------------------------
>
>                 Key: AMQ-1209
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1209
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.0.0
>         Environment: WinXP SP2
> JDK 1.5.0_11
> P4 duo core @2.16GHz
>            Reporter: Dave Parekh
>            Assignee: Rob Davies
>             Fix For: 5.3.0
>
>
> Using non-peristant JMS queues.
> I have downloaded the active mq  distribution  apache-activemq-4.2-20070313.102814-31.zip to test the new message cursor functionality.  We are testing the spooling functionality after running out of RAM buffer. We modified the existing ProducerTool and ConsumerTool examples that were provided so that we could send messages that are about 80KB in size. We set the memory in the xml config file to 512Mb.
> When we first run the Producer tool to publish 40, 000 messages, it runs fine and publishes all 40,000 messages. On version 4.1.1, we could only publish out about ~5,000 messages before being blocked.
> After running the Producer tool, we ran the ConsumerTool to read all the messages in the queue. It successfully read out all 40, 000 messages.
> We then re-ran the Publisher tool to publish 40,000 messsages. However, the publisher would only publish 10 messages and just block.   We assumed then that 10 messages are in the queue. We ran the Consumer but it would retrieve 0 messages. It acted as if there were no messages on the queue. Subsequent attempt to run Publisher would only publish out 10 messages while subsequent attempts to running the Consumer would retreive 0 messages.
> Any assistance with this would be greatly appreciated. We are in the process of migrating off the Sun MQ producer and are looking at some open source alternatives. With the design of our application, we need functionality analgous to message cursors. Re-designing the application is not an option.

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