このコンテンツは選択した言語では利用できません。

Chapter 2. Installation


This chapter guides you through the steps to install AMQ JMS Pool in your environment.

2.1. Prerequisites

  • You must have a subscription to access AMQ release files and repositories.
  • To build programs with AMQ JMS Pool, you must install Apache Maven.
  • To use AMQ JMS Pool, you must install Java.

2.2. Using the Red Hat Maven repository

Configure your Maven environment to download the client library from the Red Hat Maven repository.

Procedure

  1. Add the Red Hat repository to your Maven settings or POM file. For example configuration files, see Section B.1, “Using the online repository”.

    <repository>
      <id>red-hat-ga</id>
      <url>https://maven.repository.redhat.com/ga</url>
    </repository>
    Copy to Clipboard Toggle word wrap
  2. Add the library dependency to your POM file.

    <dependency>
      <groupId>org.messaginghub</groupId>
      <artifactId>pooled-jms</artifactId>
      <version>1.1.1.redhat-00003</version>
    </dependency>
    Copy to Clipboard Toggle word wrap

The client is now available in your Maven project.

2.3. Installing a local Maven repository

As an alternative to the online repository, AMQ JMS Pool can be installed to your local filesystem as a file-based Maven repository.

Procedure

  1. Use your subscription to download the AMQ Clients 2.8.0 JMS Pool Maven repository .zip file.
  2. Extract the file contents into a directory of your choosing.

    On Linux or UNIX, use the unzip command to extract the file contents.

    $ unzip amq-clients-2.8.0-jms-pool-maven-repository.zip
    Copy to Clipboard Toggle word wrap

    On Windows, right-click the .zip file and select Extract All.

  3. Configure Maven to use the repository in the maven-repository directory inside the extracted install directory. For more information, see Section B.2, “Using a local repository”.

2.4. Installing the examples

Procedure

  1. Use the git clone command to clone the source repository to a local directory named pooled-jms:

    $ git clone https://github.com/messaginghub/pooled-jms.git pooled-jms
    Copy to Clipboard Toggle word wrap
  2. Change to the pooled-jms directory and use the git checkout command to switch to the 1.1.1 branch:

    $ cd pooled-jms
    $ git checkout 1.1.1
    Copy to Clipboard Toggle word wrap

The resulting local directory is referred to as <source-dir> throughout this document.

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat