Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  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

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.7.0
    • 5.8.0
    • Broker
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: