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

Dejan Bosanac resolved AMQ-5379.
--------------------------------
    Resolution: Fixed

Thanks for the comments Robbie. 

The latest commit have the following changes:

- now using producerCredit instead of prefetch in all places related to the 
producer
- I bumped the default prefetch (and producer credit value) to 1000
- We decided to simplify things in terms of prefetch and credit, as currently 
we can't control it fully. The user can set the value for the prefetch on the 
transport connector and if it does it will be used and not changed. If the 
value is not set, the consumer will use default value until we get the first 
flow and initial client preference. We will use that value afterwards and not 
change it. I think this is good enough for the most current use cases. We can 
refine logic later with the real use cases.
- The problem with redelivery flag on the messages being set is fixed, as we 
now track the last delivered sequence id and inform the broker on consumer close

> AMQP - allow setting prefetch size
> ----------------------------------
>
>                 Key: AMQ-5379
>                 URL: https://issues.apache.org/jira/browse/AMQ-5379
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: AMQP
>    Affects Versions: 5.10.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.11.0
>
>
> Currently the prefetch size is hardcoded to the value of 100



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

Reply via email to