Affects Version/s: 4.3.13
SPR-16165 I found another improvement where unnecessary access to message headers is performed. This time in SimpleBrokerMessageHandler where we look for a user while this is only really needed for CONNECT/DISCONNECT messages. It's not as big as SPR-16165, but I think nonetheless worthwhile.
The attached PR moves the access on the user header to only CONNECT/DISCONNECT messages in SimpleBrokerMessageHandler.
I'd appreciate if this PR gets accepted.