C# messaging objects are coded like their JMS counterparts (for more information, see
Coding Messaging Objects). Following is the C# code used in the sender application (SenderApplication.cs) to create the connection, session, and message producer objects, and send a message.