Chapter 9. The Client Classpath

HornetQ requires several jars on the Client Classpath depending on whether the client uses HornetQ Core API, JMS, or JNDI.

Warning

All the jars mentioned here can be found in the $JBOSS_HOME/client directory of the HornetQ distribution. Be sure you only use the jars from the correct version of the release, you must not mix and match versions of jars from different HornetQ versions. Mixing and matching different jar versions may cause subtle errors and failures to occur.

9.1. HornetQ Core Client

If you are using just a pure HornetQ Core client (for example, no JMS) then you need hornetq-core-client.jar and netty.jar on your client classpath.