You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "James Selvakumar (JIRA)" <ji...@apache.org> on 2015/08/27 03:01:45 UTC

[jira] [Closed] (AMQ-5936) No option to throttle a producer which sends messages in a batch

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

James Selvakumar closed AMQ-5936.
---------------------------------
       Resolution: Implemented
    Fix Version/s: 5.9.0

I have tested and found this to be working as expected i.e PFC is applied out of the box even for async/batch sends.
I tested this with the following versions:
* 5.9.0
* 5.10.0
* 5.12.0


> No option to throttle a producer which sends messages in a batch
> ----------------------------------------------------------------
>
>                 Key: AMQ-5936
>                 URL: https://issues.apache.org/jira/browse/AMQ-5936
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.8.0
>            Reporter: James Selvakumar
>            Priority: Critical
>             Fix For: 5.9.0
>
>
> I couldn't find any option to throttle a producer which sends messages in batches (using JMS transaction with a batch size > 1) to a queue using TCP (openwire?) protocol. 
> As a result, the queue is flooded with messages. The producer however, is stopped when the *storeUsage* limit is reached.
> P.S
> * I raised this issue in the [Mailing List|http://activemq.2283324.n4.nabble.com/What-is-the-correct-way-to-throttle-ActiveMQ-producers-who-send-persistent-messages-in-batches-to-a--tp4701204.html] but didn't get any convincing answer which prompted me to file this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)