Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Essentially, to make use of the Qpid AMQP infrastructure you need to be able to run a broker instance to handle messaging traffic and talk to your client code. Your own application code will make use of the Qpid client package provided to interface with the broker.

Prerequisites

The Qpid currently broker requires jdk 1.Java 5 or later to be available. See later section for detailsFor maximum performance Java 6 is recommended.

The Java JMS client can be run using Java 1.4, 5 or 6. Note that the 1.4 client libraries come in a separate package.

Downloading & Installing Qpid

...

If you want to use a newer version than an official release then you should check out the code from the Subversion repository and then consult the Build How To page.

Broker Install

Download the broker zip or tar package as appropriate for the platform you are installing on.

Once you have downloaded the package then unpack it into a directory i.e. Unpack the archive into any directory of your choice e.g c:/qpid

Once unpacked, the package will be installed in a directory with a release label (i.e. qpid-0.91.0-incubating-M2) and the directories underneath should look something like this:

...

qpid-server is a bash script which runs the broker on linux/unix. You should set the environment variable QPID_HOME to point at your install path e.g. C:/qpid/qpid-0.91.0-incubating-M2. This enables the startup script to find default config files in the installed etc directory.

...

The other scripts in this directory can be safely ignored for now.

/lib

This directory contains Contains all the jars used by the broker, mainly in their own subdirectories.

...

Other files & jars in here can be safely ignored for now.

/etc

This contains Contains the config files used by the broker on startup.

...

Setting JAVA environment

You can continue to use DAM packages etc for Java providing that you have the correct version current in your .softdefs.Otherwise, you must make JDK 1.5 available by setting the JAVA_HOME environment variable and adding the JAVA_HOME/bin directory it to your PATH variable.
For example, if you have installed the JDK in /home/jdk1.5 then:
JAVA_HOME should be set to /home/jdk1.5
PATH should include /home/jdk1.5/bin

...

You should see something like

java version "1.56.0_0702"
Java(TM) 2 SE Runtime Environment , Standard Edition (build 1.56.0_0702-b03b06)
Java HotSpot(TM) Client Server VM (build 1.56.0_0702-b03b06, mixed mode, sharing)

The Qpid scripts provided will setup set the classpath and other flags required for the broker to run.

...