Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.11.1
-
None
Description
The assignment of the MessageListener in the MessageConsumer class is done to a non-volatile value that can result in the initial run of the message dispatch thread missing the value and delay dispatch. Likewise the code uses a state variable to track started state but the value is not accessed in a thread safe way and the state can be missed. The started value is unnecessary as the internal message queue instance maintains a thread safe running state that can be used for the same information.