Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-4226

Broker destination zero prefetch and RAR endpoint listener are incompatible b/c RAR is starved of messages - log an error to highlight

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7.0
    • Fix Version/s: 5.8.0
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      Resource adapter (RAR)

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gtully Gary Tully
                Reporter:
                gtully Gary Tully
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: