Adding ActiveMQ Properties

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

To allow HermesJMS to handle connections, you need to add the ActiveMQ plugin and specify the addresses of the ActiveMQ message broker and target service.

The activeMQsession session

On the previous step, we added a JMS connection factory to a session. Now, click Edit on the toolbar.

Plugin Properties

Specify the addresses of the ActiveMQ message broker and target service:

  1. Right-click in the Plugin Property area.

    The Plugin Property context menu

    Click the image to enlarge it.

  2. Select Add Property. An empty property will be added.

    An empty property

    Click the image to enlarge it.

  3. Click in the Property column.

    Drop-down list in the Property column

    Click the image to enlarge it.

  4. Select the brokerName property.

    The brokerName property

    Click the image to enlarge it.

  5. Click in the Value column.

  6. Add the localhost value.

    The brokerName property value

    Click the image to enlarge it.

  7. Right-click in the Plugin Property area.

    The Plugin Property context menu

    Click the image to enlarge it.

  8. Select Add Property. An empty property will be added.

    An empty property

    Click the image to enlarge it.

  9. Click in the Property column.

    Drop-down list in the Property column
  10. Select the serviceURL property.

    The serviceURL property

    Click the image to enlarge it.

  11. Click in the Value column.

  12. Add the service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi value.

    The serviceURL property value

    Click the image to enlarge it.

Connection Factory Property

To add a broker URL to the configured Connection Factory:

  1. Right-click somewhere within the Connection Factory properties.

    The Connection Factory context menu

    Click the image to enlarge it.

  2. Select Add Property. An empty property will be added.

    An empty property

    Click the image to enlarge it.

  3. Click in the Property column.

    The Property drop-down list

    Click the image to enlarge it.

  4. Select the brokerURL property.

    The brokerURL property

    Click the image to enlarge it.

  5. Click in the Value column.

  6. Add the tcp://localhost:61616 value.

    The brokerURL property value
  7. Click Apply.

    Session preferences

    Click the image to enlarge it.

  8. Click OK.

The modified session is now available in the HermesJMS manager.

The HermesJMS manager with the session

Click the image to enlarge it.

Highlight search results