Building the Asynchronous Consumer sample

All the files that you require to run the Asynchronous Consumer sample are supplied, but if you prefer to create the sample yourself, use the following instructions:

These instructions initially create flows that use an HTTP transport, but after you have completed the sample with HTTP, you can modify the sample to use JMS, see Configuring the Asynchronous Consumer sample to use a JMS transport.

To build the Asynchronous Consumer sample, use the instructions in the following links to create the required resources:

  1. Creating the web service message flow and message set
  2. Creating the client driver message set
  3. Creating the web service client flow
  4. Creating the WebSphere MQ queues

When you have created the required resources by using the instructions provided, you must add the web service flow and the client flow to a broker archive (BAR) file, together with their associated message sets. The following screen capture shows the resources to add to the broker archive file:

A screen capture of an archive file. The message flows and message sets that you have created are selected.

When you have completed these steps, you are ready to run the sample, see Running the Asynchronous Consumer sample.

Back to sample home