getNextMessageId is now synchronized to avoid the ProtocolException invalid message id
The duplicate flag of a frame is only set if its a PUBLISH frame
Checking if the transport is null before stopping it and before offering a frame to it.
Client does no longer try to reconnect when there is already a running reconnect.
getNextMessageId is now synchronized to avoid the ProtocolException invalid message id The duplicate flag of a frame is only set if its a PUBLISH frame Checking if the transport is null before stopping it and before offering a frame to it. Client does no longer try to reconnect when there is already a running reconnect.