The TestMessage sample includes two client message stores, which you started in Lesson 1. In this lesson you will send a message from the TestMessage client1 application to the TestMessage client2 application.
From the TestMessage - client1 Message menu, choose New. The New Message window appears.
In the Destination ID field, enter client2. (Leave testmessage in the Destination Queue field.)
Fill out the Subject and Message fields with sample text, and click Send.
When testing messaging, it is often useful to use the current time as a subject line to make it easy to track individual messages.
An Alert appears.
Read the message.
Switch to the TestMessage client2 window. Select the message to display its contents in the bottom pane of the window.
Like other QAnywhere applications, TestMessage uses the QAnywhere API to manage messages. The QAnywhere API is supplied as a C++ API, a Java API, a Microsoft .NET API, and a SQL API.