Bug 1089835

Summary: [GSS] (6.3.0) ClientConsumer max rate not taking effect if ServerLocator's consumerMaxRate <=0
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Jimmy Wilson <jawilson>
Component: HornetQAssignee: Clebert Suconic <csuconic>
Status: CLOSED CURRENTRELEASE QA Contact: Miroslav Novak <mnovak>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.2.1CC: kkhan, msvehla, smumford, vtunka
Target Milestone: DR2   
Target Release: EAP 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
In previosus versions of JBoss EAP 6, the Core API method `createConsumer(String queueName, String filter, int windowSize, int maxRate, boolean browseOnly)` ignored the parameter `maxRate` if the `ConnectionFactory` (or `ServerLocator`) had set `maxRate` to its default value of less than or equal to zero. The root cause of this issue was faulty logic in the `createConsumer` method. It has been corrected in this release.
Story Points: ---
Clone Of: 1088599 Environment:
Last Closed: 2014-08-06 14:35:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1064596, 1084639, 1088599    

Description Jimmy Wilson 2014-04-22 04:30:00 UTC
+++ This bug was initially created as a clone of Bug #1088599 +++

If ServerLocator's consumerMaxRate is <= 0 (the default), specifying maxRate with ClientSession.createConsumer() methods that take it makes no difference, maxRate ends up being ignored.

Comment 1 Russell Dickenson 2014-05-13 23:19:56 UTC
I have completed the Release Notes entry for this BZ ticket, based on RN text from BZ1088599.

Comment 2 Kabir Khan 2014-07-01 14:26:30 UTC
Should be fixed by upgrade https://bugzilla.redhat.com/show_bug.cgi?id=1064596 for DR2

Comment 3 Miroslav Novak 2014-07-02 07:38:13 UTC
Verified in EAP 6.3.0.ER7 using provided tests MessageRateTest.