Gary Tully created AMQ-4226:
-------------------------------

             Summary: 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