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
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-boot-starter-servicebus-jms/CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,9 @@
1
1
# Release History
2
2
3
3
## 3.2.0-beta.1 (Unreleased)
4
+
### Breaking Changes
5
+
- Require new property of `spring.jms.servicebus.pricing-tier` to set pricing tier of Azure Service Bus. Supported values are `premium`, `standard` and `basic`.
6
+
4
7
### New Features
5
8
- Enable MessageConverter bean customization.
6
9
- Update the underpinning JMS library for the Premium pricing tier of Service Bus to JMS 2.0.
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-boot-starter-servicebus-jms/README.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,8 +87,6 @@ public class User implements Serializable {
87
87
}
88
88
```
89
89
90
-
`Serializable` is implemented to use the `send` method in `JmsTemplate` in the Spring framework. Otherwise, a customized `MessageConverter` bean should be defined to serialize the content to json in text format. For more information about `MessageConverter`, see the official [Spring JMS starter project](https://spring.io/guides/gs/messaging-jms/).
91
-
92
90
#### Create a new class for the message send controller
93
91
94
92
1. Create a Java file named *SendController.java* in the package directory of your app. Add the following code to the new file:
@@ -182,7 +180,39 @@ public class User implements Serializable {
182
180
}
183
181
}
184
182
```
183
+
### OptionalServiceBus functionality
184
+
A customized `MessageConverter` bean can be used to convert between Java objects and JMS messages.
185
+
186
+
#### Set [content-type][servicebus-message-payloads] of messages
187
+
188
+
Below code snippet sets content-type of `BytesMessage` as `application/json`.
- Require new property of `spring.jms.servicebus.pricing-tier` to set pricing tier of Azure Service Bus. Supported values are `premium`, `standard` and `basic`.
17
17
### New Features
18
18
- Enable MessageConverter bean customization.
19
19
- Update the underpinning JMS library for the Premium pricing tier of Service Bus to JMS 2.0.
0 commit comments