Skip to content

Commit dd5b014

Browse files
Allow concurrency to be changed dynamically (#23043)
* Allow concurrency to be changed dynamically * Export API * Fix * PR FB * Fix * Remove logging * Move IsProcessing check * readonly * PR FB * Fix * Fix test * PR fb * PR FB * Fix
1 parent efe3ac7 commit dd5b014

File tree

6 files changed

+494
-87
lines changed

6 files changed

+494
-87
lines changed

sdk/servicebus/Azure.Messaging.ServiceBus/api/Azure.Messaging.ServiceBus.netstandard2.0.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ protected ServiceBusProcessor(Azure.Messaging.ServiceBus.ServiceBusClient client
222222
public virtual System.Threading.Tasks.Task StopProcessingAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
223223
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
224224
public override string ToString() { throw null; }
225+
public void UpdateConcurrency(int maxConcurrentCalls) { }
225226
}
226227
public partial class ServiceBusProcessorOptions
227228
{
@@ -406,6 +407,7 @@ protected ServiceBusSessionProcessor(Azure.Messaging.ServiceBus.ServiceBusClient
406407
public virtual System.Threading.Tasks.Task StopProcessingAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; }
407408
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
408409
public override string ToString() { throw null; }
410+
public void UpdateConcurrency(int maxConcurrentSessions, int maxConcurrentCallsPerSession) { }
409411
}
410412
public partial class ServiceBusSessionProcessorOptions
411413
{

0 commit comments

Comments
 (0)