activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2033) Deadlock on producerWindow.waitForSpace() in ActiveMQMessageProducer
Date Mon, 15 Dec 2008 20:13:05 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48196#action_48196
] 

Gary Tully commented on AMQ-2033:
---------------------------------

This looks like a good catch.
w.r.t the test case you mentioned, do you also have a patch for the ProducerFlowControlTest.
The ProducerFlowControlTest.java attachment is the same as the current trunk revision.


> 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
>            Priority: Critical
>         Attachments: producer.patch, ProducerFlowControlTest.java
>
>
> 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.


Mime
View raw message