Requirements
=============
1. You need Java 1.5 or higher to run the examples.
   Please note you need to install the SDK as well, not just the JRE as the examples are compiled on demand.

   In order to install the SDK you need to install the relevant devel package.
   Ex. "yum install java-1.6.0-openjdk-devel" on RHEL 5 and 6.

2. You need to have the broker packages installed.
   yum install qpid-cpp-server is good enough to execute the examples.

* If you are reading this file, then you have already install the nessacery java client libraries :).

How To Run
===========
1. Start the broker - /usr/sbin/qpidd --auth no -t
   (If you want to run with authentication then you would need to configure both the broker and client accordingly.)

2. ./run_example.sh <fully-qualified-classname of the example to be run>

3. To run the simple hello world program
      ./run_example.sh org.apache.qpid.example.Hello

4. To run the spout program
      ./run_example.sh org.apache.qpid.example.Spout <options> <address-string>
  
      Hint: use -h to display the help.

4. To run the drain program
      ./run_example.sh org.apache.qpid.example.Drain <options> <address-string>
  
      Hint: use -h to display the help.

* For more information about the address syntax please refer to the programing guide available through RPMs or online at http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/
