[messagingframework] Adjust warnings. Contributes to JB#24579
This tag has no release notes.