From ef6349cec581410ed142aa656bbfae99fdfd4559 Mon Sep 17 00:00:00 2001 From: Chase Farmer <98106992+cfarmer-fearless@users.noreply.github.com> Date: Thu, 30 May 2024 17:36:12 -0400 Subject: [PATCH] use amqp websocket transport type (#378) * use amqp websocket transport type * comment --- .../Services/IBulkUploadSvcBusClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload-processor/BulkFileUploadFunctionApp/Services/IBulkUploadSvcBusClient.cs b/upload-processor/BulkFileUploadFunctionApp/Services/IBulkUploadSvcBusClient.cs index b4a7bb0ff..b2e260d75 100644 --- a/upload-processor/BulkFileUploadFunctionApp/Services/IBulkUploadSvcBusClient.cs +++ b/upload-processor/BulkFileUploadFunctionApp/Services/IBulkUploadSvcBusClient.cs @@ -34,7 +34,7 @@ public BulkUploadSvcBusClient(IEnvironmentVariableProvider environmentVariablePr _logger = logger; _svcBusClient = new ServiceBusClient(_serviceBusConnectionString, new ServiceBusClientOptions { - TransportType = ServiceBusTransportType.AmqpTcp, + TransportType = ServiceBusTransportType.AmqpWebSockets, // Use port 443. RetryOptions = new ServiceBusRetryOptions { TryTimeout = TimeSpan.FromSeconds(60),