Step | Description |
1 | The requestor application builds a JMS message containing a lookup request for customer information. |
2 | The requestor sends a message to the server application. The message contains the information needed to lookup a customer record. |
3 | The message selector ensures that only messages from the selected geographical region are passed to the server. |
4 | The server receives the message requesting customer information. |
5 | The server parses the request message, builds a database query, and executes the database query against a simple in-memory database containing customer records. |
6 | The server maps the query results to a reply message and links the reply message to the original request. |
7 | The server sends the reply back to the requestor application. |
8 | The requestor extracts the customer data from the reply. |
9 | The requestor sends the customer data to the console. |