JMS Support

Important Note for JMS Users: Transition to Jakarta JMS API in ReadyAPI

Starting in version 3.61.0, ReadyAPI transitions from the javax.jms namespace to the jakarta.jms namespace, following the industry-wide shift from Java EE to Jakarta EE.

This update ensures compatibility with modern JMS providers and aligns ReadyAPI with current standards.

What’s Changing?
  • API Namespace Update: ReadyAPI adopts the Jakarta JMS API (jakarta.jms) instead of the legacy Javax JMS API (javax.jms). This includes updates to internal dependencies and import statements in the codebase.

  • Library Update: ReadyAPI now uses the jakarta.jms-api library in place of the javax.jms-api library.

How This Affects Your Setup

The transition may impact your current JMS configuration in the following ways:

  • Client Libraries: If your JMS provider still uses the javax.jms namespace, those libraries may not work with ReadyAPI 3.61.0.

  • Custom Scripts and Plugins: Any custom code that references javax.jms classes needs to switch to the jakarta.jms equivalents.

What You Should Do

To prepare for the update, we recommend taking the following steps:

  1. Check JMS Provider Compatibility: Confirm that your JMS provider supports the Jakarta JMS API. If it doesn't, refer to the provider’s documentation or support team for upgrade options.

  2. Update Client Libraries: Download the latest client libraries that support the jakarta.jms namespace from your JMS provider.

  3. Update Custom Code: Replace any javax.jms references in your scripts or plugins with jakarta.jms.

  4. Test Your Configurations: After making these changes, run tests in ReadyAPI to ensure everything functions correctly.

Need Help?

Java Message Service is an API for exchanging messages between applications. ReadyAPI supports JMS messaging, so you can send and receive both text and binary messages.

To test JMS services, you need to do the following:

  1. Configure a JMS provider. The following topics provide information on how to configure some popular JMS providers:

  2. Establish a connection to the provider. In ReadyAPI, you can do it in the following ways:

    Important

    ReadyAPI does not support using HermesJMS as a JMS connector starting with version 3.1.

    If you use an earlier version of ReadyAPI, we still strongly recommend that you connect using one of the methods above because HermesJMS is no longer maintained by its developer.

  3. Then, you can send JMS requests. The preferred way of sending JMS requests in ReadyAPI is using a JMS Request. Besides that, you can:

    Also, you can emulate a JMS server by using the JMS virtual services.

See Also

Publication date: