Ce contenu n'est pas disponible dans la langue sélectionnée.

Appendix A. Required JARS


Overview

To simplify deploying Red Hat JBoss A-MQ it is recommended that you place the activemq-all.jar file on the broker's CLASSPATH. It contains all of the classes needed by a message broker. This is the default set up for a Red Hat JBoss A-MQ installation.
However, if you want more control over the JARs in the broker's CLASSPATH you can add the individual JARs. There are several JARs that are required. In addition, there are a few that are only needed when certain features are used.

Required JARs

The following JARs are installed with JBoss A-MQ and must be placed on the broker's CLASSPATH:
  • activemq-broker.jar
  • activemq-client.jar
  • activeio-core.jar
  • slf4j-api.jar

JEE JARs

The JARs containing the JEE APIs are also required by the broker. These could be located in one of the following locations:
  • the jee.jar from Oracle
  • your JEE container's installation
  • the Geronimo specs JARs:
    • geronimo-spec-jms.jar
    • geronimo-spec-jta.jar
    • geronimo-spec-j2ee-management.jar

Persistent messaging JARs

If you want to use persistent messaging you will need to add JARs to the broker's CLASSPATH for the desired persistence store. The JAR names follow the pattern activemq-store-store. The following message stores are included:
  • activemq-amq-store.jar
  • activemq-jdbc-store.jar
  • activemq-kahadb-store.jar
  • activemq-leveldb-store.jar
Additionally, you will need to include any other JARs required by the persistence manager used by the store:
  • For KahaDB you will need kahadb.jar.
  • For JDBC you will need the JARs for your database's JDBC driver.
Red Hat logoGithubRedditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.