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/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusMessage.java
+28-23Lines changed: 28 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
importcom.azure.core.util.Context;
16
16
importcom.azure.core.util.logging.ClientLogger;
17
17
18
+
importjava.nio.charset.StandardCharsets;
18
19
importjava.time.Duration;
19
20
importjava.time.OffsetDateTime;
20
21
importjava.time.ZoneOffset;
@@ -36,10 +37,12 @@
36
37
* in the <a href="https://docs.microsoft.com/azure/service-bus-messaging/service-bus-messages-payloads">product
Copy file name to clipboardExpand all lines: sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusMessageBatch.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -49,27 +49,27 @@ public final class ServiceBusMessageBatch {
49
49
}
50
50
51
51
/**
52
-
* Gets the number of {@link ServiceBusMessage events} in the batch.
52
+
* Gets the number of {@link ServiceBusMessage messages} in the batch.
53
53
*
54
-
* @return The number of {@link ServiceBusMessage events} in the batch.
54
+
* @return The number of {@link ServiceBusMessage messages} in the batch.
55
55
*/
56
56
publicintgetCount() {
57
57
returnserviceBusMessageList.size();
58
58
}
59
59
60
60
/**
61
-
* Gets the maximum size, in bytes, of the {@link ServiceBusMessageBatch}.
61
+
* Gets the maximum size, in bytes, of the {@link ServiceBusMessageBatch batch}.
62
62
*
63
-
* @return The maximum size, in bytes, of the {@link ServiceBusMessageBatch}.
63
+
* @return The maximum size, in bytes, of the {@link ServiceBusMessageBatch batch}.
64
64
*/
65
65
publicintgetMaxSizeInBytes() {
66
66
returnmaxMessageSize;
67
67
}
68
68
69
69
/**
70
-
* Gets the size of the {@link ServiceBusMessageBatch} in bytes.
70
+
* Gets the size of the {@link ServiceBusMessageBatch batch} in bytes.
71
71
*
72
-
* @return the size of the {@link ServiceBusMessageBatch} in bytes.
72
+
* @return The size of the {@link ServiceBusMessageBatch batch} in bytes.
Copy file name to clipboardExpand all lines: sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusProcessorClient.java
0 commit comments