Adding a Connection Factory

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

A connection factory is an object used to create connections to the provider.

To get a working connection factory, you need to add a loader, pick the factory class and select the ActiveMQ plugin.

  • On the previous step, we configured a JMS session and added a JMS provider to it.

    The active session
  • Click Edit on the toolbar.

    Current sessions
  • Open the Loader drop-down list.

    The Loader drop-down list

    Click the image to enlarge it.

  • Select ActiveMQ-5.x.x.

    The loader in the connection factory

    Click the image to enlarge it.

  • Open the Class drop-down list.

    The Class drop-down list

    Click the image to enlarge it.

  • Select org.apache.activemq.ActiveMQXAConnectionFactory.

    The class in the connection factory

    Click the image to enlarge it.

  • Open the Plug In drop-down list.

    The Plug In drop-down list

    Click the image to enlarge it.

  • Select ActiveMQ.

    The added plugin
  • Click Apply.

    Session preferences

    Click the image to enlarge it.

  • 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