Skip to content

Commit 1991594

Browse files
committed
Service Bus - JMS 2.0 support
1 parent f3f672c commit 1991594

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

articles/service-bus-messaging/how-to-use-java-message-service-20.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Use Java Message Service 2.0 API with Azure Service Bus Premium
33
description: How to use the Java Message Service (JMS) with Azure Service Bus
44
ms.topic: article
5-
ms.date: 12/16/2022
5+
ms.date: 01/10/2024
66
ms.custom: devx-track-extended-java
77
---
88

@@ -11,7 +11,11 @@ ms.custom: devx-track-extended-java
1111
This article explains how to use the popular **Java Message Service (JMS) 2.0** API to interact with Azure Service Bus over the Advanced Message Queueing Protocol (AMQP) 1.0 protocol.
1212

1313
> [!NOTE]
14-
> Support for Java Message Service (JMS) 2.0 API is only available in the **premium tier**.>
14+
> Support for JMS 2.0 API is available only in premium tier and when using the **azure-servicebus-jms** library. If you use JMS libraries other than **azure-servicebus-jms**, for example, latest **qpid-jms-client**, against a premium namespace, you observe the JMS 1.1 behavior. The azure-servicebus-jms library doesn't create a vendor lock of any kind as it still takes a dependency on qpid-jms-client and all APIs that work on qpid-jms-client work on azure-servicebus-jms library as well.
15+
>
16+
> The azure-servicebus-jms is also an [open-source library](https://github.com/azure/azure-servicebus-jms). The azure-servicebus-jms library was mainly created so that the Service Bus service can distinguish between customers needing the JMS 1.1 behavior (backwards compatibility) versus the JMS 2.0 behavior when working against a premium namespace. The azure-servicebus-jms library also provides some necessary defaults such as prefetch policy values, reconnect policies, Microsoft Entra ID, Managed Identity support, support for Auto Delete on Idle for entities out of the box.
17+
>
18+
> The following path to the azure-servicebus-jms is the latest version of the library that is based on the Jakarta Messaging specification (Jakarta.* APIs): Maven Central: [com.azure:azure-servicebus-jms](https://central.sonatype.com/artifact/com.azure/azure-servicebus-jms). And, the following path to the azure-servicebus-jms is the latest version of library before the Jakarta Messaging specification (javax.* APIs): Maven Central: [com.microsoft.azure:azure-servicebus-jms](https://central.sonatype.com/artifact/com.microsoft.azure/azure-servicebus-jms/versions).
1519
1620
## Prerequisites
1721

0 commit comments

Comments
 (0)