You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Unsupported basic tier for Service Bus JMS because of the [limitation of Azure Service Bus](https://learn.microsoft.com/azure/service-bus-messaging/jms-developer-guide?tabs=JMS-20%2Csystem-assigned-managed-identity-backed-authentication#java-message-service-jms-programming-model)[#38164](https://github.com/Azure/azure-sdk-for-java/pull/38164).
13
+
11
14
## 5.8.0 (2023-12-14)
12
15
- This release is compatible with Spring Boot 3.0.0-3.0.13, 3.1.0-3.1.6, 3.2.0-3.2.0. (Note: 3.0.x (x>13), 3.1.y (y>6) and 3.2.z (z>0) should be supported, but they aren't tested with this release.)
13
16
- This release is compatible with Spring Cloud 2022.0.0-2022.0.4, 2023.0.0-2023.0.0. (Note: 2022.0.x (x>4) and 2023.0.y (y>0) should be supported, but they aren't tested with this release.)
Copy file name to clipboardExpand all lines: sdk/spring/spring-cloud-azure-autoconfigure/src/main/java/com/azure/spring/cloud/autoconfigure/jms/properties/AzureServiceBusJmsProperties.java
+8-2Lines changed: 8 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -310,8 +310,14 @@ public void afterPropertiesSet() throws Exception {
310
310
}
311
311
}
312
312
313
-
if (null == pricingTier || !pricingTier.matches("(?i)premium|standard|basic")) {
314
-
thrownewIllegalArgumentException("'spring.jms.servicebus.pricing-tier' is not valid");
313
+
if (null == pricingTier || !pricingTier.matches("(?i)premium|standard")) {
314
+
StringerrMessage = null;
315
+
if ("basic".equalsIgnoreCase(pricingTier)) {
316
+
errMessage = "The basic tier is not supported by Service Bus JMS. Please use standard or premium tier instead.";
317
+
} else {
318
+
errMessage = "'spring.jms.servicebus.pricing-tier' is not valid.";
Copy file name to clipboardExpand all lines: sdk/spring/spring-cloud-azure-autoconfigure/src/test/java/com/azure/spring/cloud/autoconfigure/jms/ServiceBusJmsAutoConfigurationTests.java
+17-17Lines changed: 17 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ class ServiceBusJmsAutoConfigurationTests {
0 commit comments