You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2008/12/17 13:02:05 UTC

[jira] Resolved: (AMQ-2033) Deadlock on producerWindow.waitForSpace() in ActiveMQMessageProducer

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

Gary Tully resolved AMQ-2033.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 5.3.0

patch applied in r727353. Thanks for the fix and the test case,

> Deadlock on producerWindow.waitForSpace() in ActiveMQMessageProducer
> --------------------------------------------------------------------
>
>                 Key: AMQ-2033
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2033
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.2.0
>            Reporter: Danielius Jurna
>            Assignee: Gary Tully
>            Priority: Critical
>             Fix For: 5.3.0
>
>         Attachments: producer.patch, ProducerFlowControlTest.java, ProducerFlowControlTest.patch
>
>
> It seems, that producer throttling with producerWindow enabled doesn't work at all. I'm attaching unit test for this. After sending about ~80msg producer stops and never resumes sending. 
> The problem is that producerWindow is not started ActiveMQMessageProducer. There must be something like this:
> producerWindow.start();
> I'm also attaching patch for this bug

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