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

Lazy create if MQTTProtocolConverter in the WebSocket transport needs to be thread safe

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.10.2, 5.11.1
    • Fix Version/s: 5.12.0
    • Component/s: MQTT, Transport
    • Labels:
      None

      Description

      The MQTT WebSocket class creates its MQTTProtocolConverter lazily which can lead to a race as the method that does this is no thread safe and the race between connection create and the send of the BrokerInfo can lead two instances getting created and a stalled connect attempt.

        Attachments

          Activity

            People

            • Assignee:
              tabish121 Timothy Bish
              Reporter:
              tabish121 Timothy Bish
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: