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: articles/service-bus-messaging/service-bus-prefetch.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Prefetch messages from Azure Service Bus
3
3
description: Improve performance by prefetching messages from Azure Service Bus queues or subscriptions. Messages are readily available for local retrieval before the application requests for them.
4
4
ms.topic: article
5
-
ms.date: 08/29/2023
5
+
ms.date: 06/18/2024
6
6
ms.devlang: csharp
7
7
# ms.devlang: csharp, java, javascript, python
8
8
---
@@ -14,10 +14,10 @@ When you enable the **Prefetch** feature for any of the official Service Bus cli
14
14
To enable the Prefetch feature, set the prefetch count of the queue or subscription client to a number greater than zero. Setting the value to zero turns off prefetch.
15
15
16
16
# [.NET](#tab/dotnet)
17
-
Set the prefetch count property on the [ServiceBusReceiver](/dotnet/api/azure.messaging.servicebus.servicebusreceiver.prefetchcount#Azure_Messaging_ServiceBus_ServiceBusReceiver_PrefetchCount) and [ServiceBusProcessor](/dotnet/api/azure.messaging.servicebus.servicebusprocessor.prefetchcount#Azure_Messaging_ServiceBus_ServiceBusProcessor_PrefetchCount) objects.
17
+
Set the prefetch count property on the [ServiceBusReceiverOptions](/dotnet/api/azure.messaging.servicebus.servicebusreceiveroptions.prefetchcount) and [ServiceBusProcessorOptions](/dotnet/api/azure.messaging.servicebus.servicebusprocessoroptions.prefetchcount) objects.
18
18
19
19
# [Java](#tab/java)
20
-
Set the prefetch count property on the [ServiceBusReceiver](/dotnet/api/azure.messaging.servicebus.servicebusreceiver.prefetchcount#Azure_Messaging_ServiceBus_ServiceBusReceiver_PrefetchCount) and [ServiceBusProcessor](/dotnet/api/azure.messaging.servicebus.servicebusprocessor.prefetchcount#Azure_Messaging_ServiceBus_ServiceBusProcessor_PrefetchCount) objects.
20
+
Set the prefetch count property on the [ServiceBusReceiverClientBuilder](/java/api/com.azure.messaging.servicebus.servicebusclientbuilder.servicebusreceiverclientbuilder) and [ServiceBusProcessorClientBuilder](/java/api/com.azure.messaging.servicebus.servicebusclientbuilder.servicebusprocessorclientbuilder) objects.
0 commit comments