[
https://issues.apache.org/jira/browse/ARTEMIS-2052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16596642#comment-16596642
]
ASF subversion and git services commented on ARTEMIS-2052:
----------------------------------------------------------
Commit 34fa0dded6de2298e45013fd134d4c87b0e836b2 in activemq-artemis's branch
refs/heads/master from Clebert Suconic
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=34fa0dd ]
ARTEMIS-2052 Fixing initial credit negotiation
> DefaultConsumerWindowSize is not properly being applied
> -------------------------------------------------------
>
> Key: ARTEMIS-2052
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2052
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: Broker
> Affects Versions: 2.6.2
> Reporter: Christopher L. Shannon
> Assignee: Christopher L. Shannon
> Priority: Major
> Fix For: 2.7.0, 2.6.3
>
>
> When testing out the new defaultConsumerWindowSize setting I found 2 bugs.
> 1) The default value wasn't being applied properly in the client when using
> JMS topics. After debugging it turns it the reason is the queue name is
> being used to look up the address settings inside of the queueQuery() method
> in ActiveMQServerImpl however really we need to use the address name of the
> binding because the queue name for a topic will just be a random temporary
> string. I think the solution here is to check for a local queue binding
> first and if one exists then use the address name of the queue binding for
> looking up address settings.
> 2) After fixing part 1 the client had the proper value but the
> availableCredits being sent to the server for flow control was wrong and
> didn't use the negotiated value.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)