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

Figure out what was intended with transactions and producer flow control for topics

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.8.0
    • Broker
    • None

    Description

      in Topic#send it checks to see whether memory is full, whether producer flow control is enabled, and whether it should just block the producer, or block the connection. In the "else" clause on line 389, it will block the connection waiting for space. It tries to do something different if the context is in a transaction.. but what it's trying to do is not clear. It looks like it will do exactly the same thing as it would do if it would not be in a transaction. The extra code around (count > 2) doesn't seem like it will ever hit and the log message will never print. Maybe someone was adding functionality there, but didn't finish?

      Attachments

        Activity

          People

            Unassigned Unassigned
            ceposta Christian Posta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: