In this part of the recipe, we will learn how a server writes a desired message into the message queue.