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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.10.2, 5.11.1
    • 5.12.0
    • MQTT, Transport
    • 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

            tabish Timothy A. Bish
            tabish Timothy A. Bish
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: