WebSphere Message Service Clients for C/C++ and .NET, Version 1.2 Operating Systems: Linux, Windows

Running the sample applications

You can run the C, C++ and .NET sample applications interactively in either simple or advanced mode, or non-interactively using auto-generated or custom response files.

Before you begin

In the case of the C or C++ sample applications, you must have set up one of the following environment variables, as appropriate:

Why and when to perform this task

The operation of the C and C++ sample applications is identical for all platforms.
Tip: When you are running a sample application, type ? at any time for help on what to do next.

The following steps summarize what you need to do to run the C, C++ and .NET sample applications.

Steps for this task

  1. Choose which mode you want to run the sample application in. Type either Advanced or Simple.
  2. Answer the questions that then appear. To select the default value, which is shown in the square brackets at the end of the question, press Enter. To select a different value, type the appropriate value, then press Enter.

    Here is an example question:

    Enter connection type [wpm]:

    In this case, the default value is wpm (connection to a WebSphere service integration bus).

Result

When you run the sample applications, response files are generated automatically in the current working directory. Response file names are in the format <connectiontype>-<sampletype>.rsp, for example wpm-producer.rsp. If required, you can use a generated response file to re-run the sample application with the same options, without having to re-enter these options manually.

Related concepts
The sample applications
Related tasks
Building the C or C++ sample applications
Building the .NET sample applications

Task topic

Terms of Use | Rate this page

Last updated: 7 Dec 2005

© Copyright IBM Corporation 2005. All Rights Reserved.