52 lines
3.2 KiB
XML
52 lines
3.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- ============================================================================= -->
|
|
<!-- Licensed to the Apache Software Foundation (ASF) under one or more -->
|
|
<!-- contributor license agreements. See the NOTICE file distributed with -->
|
|
<!-- this work for additional information regarding copyright ownership. -->
|
|
<!-- The ASF licenses this file to You under the Apache License, Version 2.0 -->
|
|
<!-- (the "License"); you may not use this file except in compliance with -->
|
|
<!-- the License. You may obtain a copy of the License at -->
|
|
<!-- -->
|
|
<!-- http://www.apache.org/licenses/LICENSE-2.0 -->
|
|
<!-- -->
|
|
<!-- Unless required by applicable law or agreed to in writing, software -->
|
|
<!-- distributed under the License is distributed on an "AS IS" BASIS, -->
|
|
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -->
|
|
<!-- See the License for the specific language governing permissions and -->
|
|
<!-- limitations under the License. -->
|
|
<!-- ============================================================================= -->
|
|
|
|
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % BOOK_ENTITIES SYSTEM "ActiveMQ_User_Manual.ent">
|
|
%BOOK_ENTITIES;
|
|
]>
|
|
<chapter id="client-classpath">
|
|
<title>The Client Classpath</title>
|
|
<para>ActiveMQ requires several jars on the <emphasis>Client Classpath</emphasis> depending on
|
|
whether the client uses ActiveMQ Core API, JMS, and JNDI.</para>
|
|
<warning>
|
|
<para>All the jars mentioned here can be found in the <literal>lib</literal> directory of
|
|
the ActiveMQ distribution. Be sure you only use the jars from the correct version of the
|
|
release, you <emphasis>must not</emphasis> mix and match versions of jars from different
|
|
ActiveMQ versions. Mixing and matching different jar versions may cause subtle errors and
|
|
failures to occur.</para>
|
|
</warning>
|
|
<section>
|
|
<title>ActiveMQ Core Client</title>
|
|
<para>If you are using just a pure ActiveMQ Core client (i.e. no JMS) then you need <literal
|
|
>activemq-core-client.jar</literal>, <literal>activemq-commons.jar</literal>, and
|
|
<literal>netty.jar</literal> on your client classpath.</para>
|
|
</section>
|
|
<section>
|
|
<title>JMS Client</title>
|
|
<para>If you are using JMS on the client side, then you will also need to include <literal
|
|
>activemq-jms-client.jar</literal> and <literal>jboss-jms-api.jar</literal>.</para>
|
|
|
|
<note>
|
|
<para><literal>jboss-jms-api.jar</literal> just contains Java EE API interface classes
|
|
needed for the <literal>javax.jms.*</literal> classes. If you already have a jar
|
|
with these interface classes on your classpath, you will not need it.</para>
|
|
</note>
|
|
</section>
|
|
</chapter>
|