Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Info

This page is out of date and should not be used. Please refer to the Qpid JMS client books for up to date documentation.

Overview

Some example client code is provided to help you get started, using JNDI and JMS.

...

The source code for the example client classes being provided is contained in the example package which can be found in:

https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid/java/client/example/

Building the Example source

...

Note that if you wish to build the example client code from within your IDE you will need to add the following jars contained in the Qpid binary release into your classpath:

No Format

qpid-client-<RELEASE>-incubating-<MILESTONE>.jar
qpid-common-<RELEASE>-incubating-<MILESTONE>.jar
geronimo-jms_1.1_spec-1.0.jar

At the time of writing , RELEASE is '1.0' and MILESTONE is 'M2-SNAPSHOTM4'.

NB: At runtime, you'll need to put all the jars in the client/lib dir into your classpath along with these jars.

...

Contributions to the example classes are most welcome. Please send your classes to our qpid-dev mailing listdev@qpid.apache.org.

Basic Classes

This section outlines the classes that you're likely to find most useful.

...