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

Gary Tully resolved AMQ-4226.
-----------------------------

    Resolution: Fixed

error now logged by the RAR if zero prefetch is in effect. Condition could be 
by design if a rar consumer needs to be weaned for some reason, hence the use 
of the log.
                
> Broker destination zero prefetch and RAR endpoint listener are incompatible 
> b/c RAR is starved of messages - log an error to highlight
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-4226
>                 URL: https://issues.apache.org/jira/browse/AMQ-4226
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.7.0
>         Environment: Resource adapter (RAR)
>            Reporter: Gary Tully
>            Assignee: Gary Tully
>            Priority: Minor
>             Fix For: 5.8.0
>
>
> A broker configured zero prefetch will starve the RAR of messages. The 
> consumer is now aware of the zero prefetch and will log an error if it sees a 
> prefetch value of zero.
> RAR is push only so it needs to have a prefetch > 0 for normal operation. 
> Setting prefetch to zero broker size is a way of preventing dispatch if 
> necessary.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to