Can use JMS 1.1 to connect Azure Service Bus Premium tier ?

Frank Long 40 Reputation points
2023-08-08T03:23:56.8866667+00:00

i saw Azure Service Bus Premium tier supports JMS 1.1 in the document https://learn.microsoft.com/en-us/azure/service-bus-messaging/jms-developer-guide?tabs=JMS-20%2Csystem-assigned-managed-identity-backed-authentication

My question is that can use JMS 1.1 to connect Azure Service Bus Premium tier ? If both JMS 1.1 AND JMS 2 can connect Azure Service Bus Premium tier, what is the different between JMS 1.1 AND JMS 2 ?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
700 questions
{count} votes

Accepted answer
  1. navba-MSFT 27,550 Reputation points Microsoft Employee Moderator
    2023-08-08T04:41:54.4333333+00:00

    @Frank Long Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    I understand that your ask is if you can use JMS 1.1 to connect to Azure Service Bus Premium tier and what the difference is between JMS 1.1 and JMS 2?

    Answer: Azure Service Bus Premium tier supports JMS 1.1 and JMS 2.0.

    Azure Service Bus - Standard** tier supports limited JMS 1.1 functionality. For more details, please refer to this documentation.

    More Info here.

    However, there are some differences between the two versions.

    JMS 2.0 is the latest version of the JMS API and provides several new features and improvements over JMS 1.1. Some of the key differences between JMS 1.1 and JMS 2.0 are:

    • JMS 2.0 introduces a simplified API for sending and receiving messages, which reduces the amount of boilerplate code required to work with JMS.
    • JMS 2.0 supports asynchronous message consumption using the new MessageListener interface, which simplifies the process of consuming messages from a queue or topic.
    • JMS 2.0 introduces a new shared subscription feature, which allows multiple consumers to share the same subscription and receive messages in a load-balanced manner.
    • JMS 2.0 provides a new simplified API for working with message headers and properties also has support for message selectors, which allow consumers to filter messages based on their properties.

    In summary, both JMS 1.1 and JMS 2.0 can be used to connect to Azure Service Bus Premium tier. However, JMS 2.0 provides several new features and improvements over JMS 1.1.

    This article talks about the difference between JMS 1.1 and JMS 2.0 in detail.

    To learn more about using JMS with Azure Service Bus, you can refer to the following documentation:

    Hope this answers.

    ** Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.