Adding a Provider

Applies to ReadyAPI 3.7, last modified on April 08, 2021

The ActiveMQ provider is recommended, but you can use other providers, as well. See Alternative Providers for information on JMS providers.

  1. On the previous step of this tutorial, we created a JMS session. Now, let us add a JMS provider.

    Session preferences

    Click the image to enlarge it.

  2. Select the Providers tab at the bottom of the editor.

    The Providers tab

    Click the image to enlarge it.

  3. Select Classpath Groups (it may be the only available item).

    Classpath groups

    Click the image to enlarge it.

  4. Right-click in the Classpath Groups area and select Add Group.

    The Classpath Groups context menu

    Click the image to enlarge it.

  5. Enter ActiveMQ-5.x.x (the version you are using).

    Naming the provider

An ActiveMQ library will be added.

A new library

Click the image to enlarge it.

The library is empty, so we need to add JAR files to it.

Adding JAR Files

In this example, two JAR files are needed.

Note: If you are using a provider other than ActiveMQ, you may need other JAR files.

Main JAR File

  1. Right-click Library.

    The library

    Click the image to enlarge it.

  2. Select Add JAR(s).

    The Library context menu

    Click the image to enlarge it.

  3. Open the ActiveMQ installation folder.

    Opening the ActiveMQ installation folder

    Click the image to enlarge it.

  4. Open the activemq-all-5.X.X.jar file.

    Note: Do not use the activemq-client-5.X.X.jar file.

  5. If the Scan dialog appears, click Scan.

    The Scan dialog

    Click the image to enlarge it.

  6. The JAR file will be added to the library.

    The JAR file in the library

    Click the image to enlarge it.

Library JAR File

  1. Right-click Library.

  2. Select Add JAR(s).

    The Library context menu

    Click the image to enlarge it.

  3. Open the ActiveMQ installation folder.

    Opening the ActiveMQ installation folder

    Click the image to enlarge it.

  4. Open the lib folder.

    The lib folder

    Click the image to enlarge it.

  5. Open the geronimo-j2ee-management_1.0_spec-1.0.jar file.

  6. If the Scan dialog appears, click Scan.

    The Scan dialog

    Click the image to enlarge it.

  7. The JAR file will be added to the library.

    The JAR file in the library

To finish the configuration, do the following:

  1. Click Apply. The provider will be added.

    The provider

    Click the image to enlarge it.

  2. Click OK.

The new (or modified) session will appear in the HermesJMS manager.

The HermesJMS manager with the session

Click the image to enlarge it.

To load this configuration, restart HermesJMS.

Highlight search results