Generic Message Example

In the examples in the following subsections, there are separate processes running on the messaging server and messaging client machines. The process running on the server receives requests and generates replies. The process running on the client sends a request and waits for a reply.

The application is event-driven and has a callback method that wakes up the application when a request message is inserted into the request queue.

The code examples are taken from a sample messaging system, the schema files for which are located in the messagingFramework subdirectory of the examples directory on the JADE release medium.