Timothy Bish created AMQ-5870:
---------------------------------

             Summary: Lazy create if MQTTProtocolConverter in the WebSocket 
transport needs to be thread safe
                 Key: AMQ-5870
                 URL: https://issues.apache.org/jira/browse/AMQ-5870
             Project: ActiveMQ
          Issue Type: Bug
          Components: MQTT, Transport
    Affects Versions: 5.11.1, 5.10.2
            Reporter: Timothy Bish
            Assignee: Timothy Bish
             Fix For: 5.12.0


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to