Problem: With heavy traffic, a client could receive a PD or PM message before having received a config message.
Solution: When connecting, create a queue. Enqueue messages that arrive until reception of a config message.
On reception of a config message, process it, and then process the queue.
From now on, process messages normally (ie don't enqueue them)
Problem: With heavy traffic, a client could receive a PD or PM message before having received a config message.
Solution: When connecting, create a queue. Enqueue messages that arrive until reception of a config message. On reception of a config message, process it, and then process the queue. From now on, process messages normally (ie don't enqueue them)