From 7fbf52a086c4e728503baf61d0bf312b4a3e635a Mon Sep 17 00:00:00 2001 From: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> Date: Wed, 25 Jan 2023 15:37:28 -0800 Subject: [PATCH 01/14] Support serializing received message to/from AMQP bytes --- NuGet.Config | 1 + eng/Packages.Data.props | 4 +- .../src/TestEnvironment.cs | 2 +- ...ure.Messaging.ServiceBus.netstandard2.0.cs | 8 ++ .../src/Amqp/AmqpMessageConverter.cs | 127 +++++++++++------- .../src/Amqp/AmqpMessageExtensions.cs | 12 +- .../src/Amqp/AmqpReceiver.cs | 6 +- .../Compatibility/ServiceBusAmqpExtensions.cs | 42 ++++++ .../src/Primitives/ServiceBusModelFactory.cs | 2 +- .../tests/Amqp/AmqpConverterTests.cs | 14 +- .../tests/Message/MessageLiveTests.cs | 85 ++++++++++++ .../ServiceBusExtensionConfigProvider.cs | 19 +++ ...Azure.WebJobs.Extensions.ServiceBus.csproj | 4 + .../tests/MessageInteropTests.cs | 51 +++++++ 14 files changed, 306 insertions(+), 71 deletions(-) create mode 100644 sdk/servicebus/Azure.Messaging.ServiceBus/src/Compatibility/ServiceBusAmqpExtensions.cs diff --git a/NuGet.Config b/NuGet.Config index be103949f661d..28e636a99c344 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -5,6 +5,7 @@ + -