Broker 10.5 | webMethods Broker Documentation | webMethods Broker Messaging Programmer's Guide | Coding Messaging Client Applications | JMS Request-Reply Application with a Message Selector | Request-Reply Application: Description | Message and Data Flow
 
Message and Data Flow
The following figure shows the JMS client's message and data flow.
The numbers in the figure correspond to the sequence of messaging steps described below:
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.