summaryrefslogtreecommitdiff
path: root/qpid/java/client/example/src/main/java/README.txt
blob: 757054e492d5d6ec9c52ca2431fdb18727907b6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
In order to use the runSample script, you are required to set two environment
variables, QPID_HOME and QPID_SAMPLE. If not the default values will be used.

QPID_HOME
---------
This is the directory that contains the QPID distribution. If you are running the Qpid
Java broker on the same machine as the examples, you have already set QPID_HOME to this 
directory.

default: /usr/share/java/

QPID_SAMPLE
-----------

This is the examples directory, which is the parent directory of the
'java' directory in which you find 'runSample.sh'

(Ex:- $QPID_SRC_HOME/java/client/example/src/main)

default: $PWD

Note: you must have write privileges to this directory in order to run
the examples.


Running the Examples
===========================

To run these programs, do the following:

   1. Make sure that a Qpid broker is running.
   2. In the java directory, use runSample.sh to run the program:
      $  ./runSample.sh <class name> <arguments>