diff --git a/README.md b/README.md
index 39dcbe5f..100d3ce2 100644
--- a/README.md
+++ b/README.md
@@ -11,18 +11,33 @@
### RockLib.Messaging.NamedPipes
+> [!WARNING]
+> The 5.0.0 release of this library will be the final version with upgrades and changes. Bug fixes will continue to be released as needed.
+
### RockLib.Messaging.SQS
### RockLib.Messaging.SNS
### RockLib.Messaging.Http
+> [!WARNING]
+> The 4.0.0 release of this library will be the final version with upgrades and changes. Bug fixes will continue to be released as needed.
+
### RockLib.Messaging.Kafka
+> [!WARNING]
+> The 4.0.0 release of this library will be the final version with upgrades and changes. Bug fixes will continue to be released as needed.
+
### RockLib.Messaging.RabbitMQ
+> [!WARNING]
+> The 3.0.0 release of this library will be the final version with upgrades and changes. Bug fixes will continue to be released as needed.
+
### RockLib.Messaging.CloudEvents
+> [!WARNING]
+> The 4.0.0 release of this library will be the final version with upgrades and changes. Bug fixes will continue to be released as needed.
+
-----
- [Getting started](docs/GettingStarted.md)
diff --git a/RockLib.Messaging.All.sln b/RockLib.Messaging.All.sln
index d2c878e0..8d432bd9 100644
--- a/RockLib.Messaging.All.sln
+++ b/RockLib.Messaging.All.sln
@@ -70,8 +70,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RockLib.Messaging.CloudEven
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RockLib.Messaging.CloudEvents.Tests", "Tests\RockLib.Messaging.CloudEvents.Tests\RockLib.Messaging.CloudEvents.Tests.csproj", "{B7B9E920-3251-4AE6-AA83-5147EC3403E6}"
EndProject
-Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "RockLib.Messaging.HttpUtils", "RockLib.Messaging.HttpUtils\RockLib.Messaging.HttpUtils.shproj", "{93800DE0-2CC4-454D-BD9C-4C7058DFD276}"
-EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.Messaging.CloudEvents", "Examples\Example.Messaging.CloudEvents\Example.Messaging.CloudEvents.csproj", "{13418188-1DFE-48F4-9103-B592B34023B2}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Example.Application.Testing", "Examples\Example.Application.Testing\Example.Application.Testing.csproj", "{7221DFC0-ED53-4F4D-8CB7-163FEEF1E5F8}"
@@ -81,11 +79,6 @@ EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RockLib.Messaging.RabbitMQ.Tests", "Tests\RockLib.Messaging.RabbitMQ.Tests\RockLib.Messaging.RabbitMQ.Tests.csproj", "{FE0B8186-6C98-4574-811E-1012DE468C29}"
EndProject
Global
- GlobalSection(SharedMSBuildProjectFiles) = preSolution
- RockLib.Messaging.HttpUtils\RockLib.Messaging.HttpUtils.projitems*{93800de0-2cc4-454d-bd9c-4c7058dfd276}*SharedItemsImports = 13
- RockLib.Messaging.HttpUtils\RockLib.Messaging.HttpUtils.projitems*{a84fce16-e330-498f-a4a2-b4467153d731}*SharedItemsImports = 5
- RockLib.Messaging.HttpUtils\RockLib.Messaging.HttpUtils.projitems*{ffc6155d-02d8-49f1-8943-a079bd8bff26}*SharedItemsImports = 5
- EndGlobalSection
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
diff --git a/RockLib.Messaging.CloudEvents/CHANGELOG.md b/RockLib.Messaging.CloudEvents/CHANGELOG.md
index 610d5c09..cce41878 100644
--- a/RockLib.Messaging.CloudEvents/CHANGELOG.md
+++ b/RockLib.Messaging.CloudEvents/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 4.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+
## 3.0.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.HttpUtils/HttpUtils.cs b/RockLib.Messaging.CloudEvents/HttpUtils.cs
similarity index 100%
rename from RockLib.Messaging.HttpUtils/HttpUtils.cs
rename to RockLib.Messaging.CloudEvents/HttpUtils.cs
diff --git a/RockLib.Messaging.CloudEvents/RockLib.Messaging.CloudEvents.csproj b/RockLib.Messaging.CloudEvents/RockLib.Messaging.CloudEvents.csproj
index ca3a7d14..487ff9cb 100644
--- a/RockLib.Messaging.CloudEvents/RockLib.Messaging.CloudEvents.csproj
+++ b/RockLib.Messaging.CloudEvents/RockLib.Messaging.CloudEvents.csproj
@@ -12,16 +12,16 @@
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.CloudEvents/CHANGELOG.md.
false
rocklib messaging cloudevents
- 3.0.1
+ 4.0.0-alpha.1
True
- 3.0.1
+ 4.0.0-alpha.1
true
-
+
@@ -31,5 +31,4 @@
-
diff --git a/RockLib.Messaging.Http/CHANGELOG.md b/RockLib.Messaging.Http/CHANGELOG.md
index b818b819..12cd9da9 100644
--- a/RockLib.Messaging.Http/CHANGELOG.md
+++ b/RockLib.Messaging.Http/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 4.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+
## 3.0.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.Http/HttpUtils.cs b/RockLib.Messaging.Http/HttpUtils.cs
new file mode 100644
index 00000000..35b666fa
--- /dev/null
+++ b/RockLib.Messaging.Http/HttpUtils.cs
@@ -0,0 +1,130 @@
+using System;
+using System.Collections.Generic;
+using System.Net.Http.Headers;
+using System.Text;
+
+namespace RockLib.Messaging
+{
+ internal static class HttpUtils
+ {
+ public static void AddHeader(HttpHeaders headers, string headerName, string? headerValue)
+ {
+ if (headerValue is null)
+ {
+ return;
+ }
+
+ if (SupportsMultipleValues(headerName))
+ {
+ headers.Add(headerName, SplitByComma(headerValue));
+ }
+ else
+ {
+ headers.Add(headerName, headerValue);
+ }
+ }
+
+ public static bool IsContentHeader(string headerName)
+ {
+ switch (headerName)
+ {
+ case "Allow":
+ case "Content-Disposition":
+ case "Content-Encoding":
+ case "Content-Language":
+ case "Content-Length":
+ case "Content-Location":
+ case "Content-MD5":
+ case "Content-Range":
+ case "Content-Type":
+ case "Expires":
+ case "Last-Modified":
+ return true;
+
+ default:
+ return false;
+ }
+ }
+
+ private static bool SupportsMultipleValues(string headerName)
+ {
+ switch (headerName)
+ {
+ case "Allow":
+ case "Content-Encoding":
+ case "Content-Language":
+ case "Accept":
+ case "Accept-Charset":
+ case "Accept-Encoding":
+ case "Accept-Language":
+ case "Cache-Control":
+ case "Connection":
+ case "Expect":
+ case "If-Match":
+ case "If-None-Match":
+ case "Pragma":
+ case "TE":
+ case "Trailer":
+ case "Transfer-Encoding":
+ case "Upgrade":
+ case "Via":
+ return true;
+
+ default:
+ return false;
+ }
+ }
+
+ private static IEnumerable SplitByComma(string? headerValue)
+ {
+ string value;
+
+ if (headerValue is null)
+ {
+ yield break;
+ }
+
+#if NET48
+ if (!headerValue.Contains(","))
+#else
+ if (!headerValue.Contains(',', StringComparison.InvariantCultureIgnoreCase))
+#endif
+ {
+ value = headerValue.Trim();
+ if (value.Length > 0)
+ {
+ yield return value;
+ }
+
+ yield break;
+ }
+
+ var sb = new StringBuilder();
+
+ foreach (var header in headerValue)
+ {
+ switch (header)
+ {
+ case ',':
+ value = sb.ToString().Trim();
+ if (value.Length > 0)
+ yield return value;
+ sb.Clear();
+ continue;
+ default:
+ sb.Append(header);
+ continue;
+ }
+ }
+
+ if (sb.Length > 0)
+ {
+ value = sb.ToString().Trim();
+ if (value.Length > 0)
+ {
+ yield return value;
+ }
+ }
+ }
+ }
+}
diff --git a/RockLib.Messaging.Http/RockLib.Messaging.Http.csproj b/RockLib.Messaging.Http/RockLib.Messaging.Http.csproj
index 390c8069..5283c0bc 100644
--- a/RockLib.Messaging.Http/RockLib.Messaging.Http.csproj
+++ b/RockLib.Messaging.Http/RockLib.Messaging.Http.csproj
@@ -7,7 +7,7 @@
true
True
RockLib.Messaging.Http
- 3.0.1
+ 4.0.0-alpha.1
false
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.Http/CHANGELOG.md.
https://github.com/RockLib/RockLib.Messaging
@@ -15,14 +15,14 @@
icon.png
rocklib messaging http
True
- 3.0.1
+ 4.0.0-alpha.1
true
-
+
@@ -31,5 +31,4 @@
-
diff --git a/RockLib.Messaging.HttpUtils/RockLib.Messaging.HttpUtils.projitems b/RockLib.Messaging.HttpUtils/RockLib.Messaging.HttpUtils.projitems
deleted file mode 100644
index fb2a58b6..00000000
--- a/RockLib.Messaging.HttpUtils/RockLib.Messaging.HttpUtils.projitems
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
- true
- 93800de0-2cc4-454d-bd9c-4c7058dfd276
-
-
- RockLib.Messaging.HttpUtils
-
-
-
-
-
\ No newline at end of file
diff --git a/RockLib.Messaging.HttpUtils/RockLib.Messaging.HttpUtils.shproj b/RockLib.Messaging.HttpUtils/RockLib.Messaging.HttpUtils.shproj
deleted file mode 100644
index 1c172b62..00000000
--- a/RockLib.Messaging.HttpUtils/RockLib.Messaging.HttpUtils.shproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- 93800de0-2cc4-454d-bd9c-4c7058dfd276
- 14.0
-
-
-
-
-
-
-
-
diff --git a/RockLib.Messaging.Kafka/CHANGELOG.md b/RockLib.Messaging.Kafka/CHANGELOG.md
index cec9f715..3083f68f 100644
--- a/RockLib.Messaging.Kafka/CHANGELOG.md
+++ b/RockLib.Messaging.Kafka/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 4.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+
## 3.0.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.Kafka/RockLib.Messaging.Kafka.csproj b/RockLib.Messaging.Kafka/RockLib.Messaging.Kafka.csproj
index eb1ae2c6..a9146011 100644
--- a/RockLib.Messaging.Kafka/RockLib.Messaging.Kafka.csproj
+++ b/RockLib.Messaging.Kafka/RockLib.Messaging.Kafka.csproj
@@ -12,9 +12,9 @@
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.Kafka/CHANGELOG.md.
false
rocklib messaging kafka
- 3.0.1
+ 4.0.0-alpha.1
True
- 3.0.1
+ 4.0.0-alpha.1
true
@@ -25,8 +25,8 @@
-
-
+
+
\ No newline at end of file
diff --git a/RockLib.Messaging.NamedPipes/CHANGELOG.md b/RockLib.Messaging.NamedPipes/CHANGELOG.md
index ebf0a8f5..24327558 100644
--- a/RockLib.Messaging.NamedPipes/CHANGELOG.md
+++ b/RockLib.Messaging.NamedPipes/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 5.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+
## 4.0.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.NamedPipes/NamedPipeReceiver.cs b/RockLib.Messaging.NamedPipes/NamedPipeReceiver.cs
index 2b36a1f8..839e25f9 100644
--- a/RockLib.Messaging.NamedPipes/NamedPipeReceiver.cs
+++ b/RockLib.Messaging.NamedPipes/NamedPipeReceiver.cs
@@ -56,7 +56,7 @@ private void StartNewPipeServer()
#pragma warning restore CA1416 // Validate platform compatibility
_pipeServer.BeginWaitForConnection(WaitForConnectionCallBack, null);
}
-
+
private void WaitForConnectionCallBack(IAsyncResult result)
{
// We can assume _pipeServer will always be non-null here.
diff --git a/RockLib.Messaging.NamedPipes/RockLib.Messaging.NamedPipes.csproj b/RockLib.Messaging.NamedPipes/RockLib.Messaging.NamedPipes.csproj
index bfec1ca7..7a12d8ca 100644
--- a/RockLib.Messaging.NamedPipes/RockLib.Messaging.NamedPipes.csproj
+++ b/RockLib.Messaging.NamedPipes/RockLib.Messaging.NamedPipes.csproj
@@ -12,16 +12,16 @@
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.NamedPipes/CHANGELOG.md.
false
rocklib messaging
- 4.0.1
+ 5.0.0-alpha.1
True
- 4.0.1
+ 5.0.0-alpha.1
true
-
+
diff --git a/RockLib.Messaging.RabbitMQ/CHANGELOG.md b/RockLib.Messaging.RabbitMQ/CHANGELOG.md
index 0c7416b9..ba524859 100644
--- a/RockLib.Messaging.RabbitMQ/CHANGELOG.md
+++ b/RockLib.Messaging.RabbitMQ/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 3.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+
## 2.0.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.RabbitMQ/RockLib.Messaging.RabbitMQ.csproj b/RockLib.Messaging.RabbitMQ/RockLib.Messaging.RabbitMQ.csproj
index 51b52ae3..fb84f1e7 100644
--- a/RockLib.Messaging.RabbitMQ/RockLib.Messaging.RabbitMQ.csproj
+++ b/RockLib.Messaging.RabbitMQ/RockLib.Messaging.RabbitMQ.csproj
@@ -12,9 +12,9 @@
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.RabbitMQ/CHANGELOG.md.
false
rocklib messaging rabbitmq
- 2.0.1
+ 3.0.0-alpha.1
True
- 2.0.1
+ 3.0.0-alpha.1
true
@@ -22,7 +22,7 @@
-
+
diff --git a/RockLib.Messaging.SNS/CHANGELOG.md b/RockLib.Messaging.SNS/CHANGELOG.md
index 655ba2e3..8a7fed85 100644
--- a/RockLib.Messaging.SNS/CHANGELOG.md
+++ b/RockLib.Messaging.SNS/CHANGELOG.md
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 4.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+ - AWSSDK.SimpleNotificationService.3.7.301.1 -> AWSSDK.SimpleNotificationService.3.7.400.86
+
## 3.1.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.SNS/RockLib.Messaging.SNS.csproj b/RockLib.Messaging.SNS/RockLib.Messaging.SNS.csproj
index f44bd570..09420d13 100644
--- a/RockLib.Messaging.SNS/RockLib.Messaging.SNS.csproj
+++ b/RockLib.Messaging.SNS/RockLib.Messaging.SNS.csproj
@@ -12,17 +12,17 @@
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.SNS/CHANGELOG.md.
false
rocklib messaging sns
- 3.1.1
+ 4.0.0-alpha.1
True
- 3.1.1
+ 4.0.0-alpha.1
true
-
-
+
+
diff --git a/RockLib.Messaging.SQS/CHANGELOG.md b/RockLib.Messaging.SQS/CHANGELOG.md
index d1abfb01..4f59892c 100644
--- a/RockLib.Messaging.SQS/CHANGELOG.md
+++ b/RockLib.Messaging.SQS/CHANGELOG.md
@@ -5,6 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## 5.0.0-alpha.1 - 2025-02-03
+
+#### Changed
+- Removed .NET 6 as a target framework.
+- Updated the following packages:
+ - RockLib.Messaging.4.0.1 -> RockLib.Messaging.5.0.0-alpha.1
+ - AWSSDK.SQS.3.7.300.53 -> AWSSDK.SQS.3.7.400.86
+ - `AttributeNames` on `ReceiveMessageRequest` is now obsolete; `MessageSystemAttributeNames` is being used instead
+
## 4.1.1 - 2024-07-19
#### Changed
diff --git a/RockLib.Messaging.SQS/RockLib.Messaging.SQS.csproj b/RockLib.Messaging.SQS/RockLib.Messaging.SQS.csproj
index 6ad23888..24cb987b 100644
--- a/RockLib.Messaging.SQS/RockLib.Messaging.SQS.csproj
+++ b/RockLib.Messaging.SQS/RockLib.Messaging.SQS.csproj
@@ -9,12 +9,12 @@
RockLib.Messaging.SQS
LICENSE.md
https://github.com/RockLib/RockLib.Messaging
- 4.1.1
+ 5.0.0-alpha.1
A changelog is available at https://github.com/RockLib/RockLib.Messaging/blob/main/RockLib.Messaging.SQS/CHANGELOG.md.
True
false
rocklib messaging sqs
- 4.1.1
+ 5.0.0-alpha.1
true
@@ -25,8 +25,8 @@
-
+
-
+
diff --git a/RockLib.Messaging.SQS/SQSReceiver.cs b/RockLib.Messaging.SQS/SQSReceiver.cs
index 3e75389b..1fcdc683 100644
--- a/RockLib.Messaging.SQS/SQSReceiver.cs
+++ b/RockLib.Messaging.SQS/SQSReceiver.cs
@@ -261,7 +261,7 @@ private async Task ReceiveMessages()
QueueUrl = QueueUrl?.OriginalString,
MessageAttributeNames = new List { ".*" },
WaitTimeSeconds = WaitTimeSeconds,
- AttributeNames = new List { "All" }
+ MessageSystemAttributeNames = new List { "All" }
};
ReceiveMessageResponse? response = null;
diff --git a/Tests/RockLib.Messaging.CloudEvents.Tests/RockLib.Messaging.CloudEvents.Tests.csproj b/Tests/RockLib.Messaging.CloudEvents.Tests/RockLib.Messaging.CloudEvents.Tests.csproj
index 9b6b2329..c6676637 100644
--- a/Tests/RockLib.Messaging.CloudEvents.Tests/RockLib.Messaging.CloudEvents.Tests.csproj
+++ b/Tests/RockLib.Messaging.CloudEvents.Tests/RockLib.Messaging.CloudEvents.Tests.csproj
@@ -6,15 +6,15 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/Tests/RockLib.Messaging.Http.Tests/RockLib.Messaging.Http.Tests.csproj b/Tests/RockLib.Messaging.Http.Tests/RockLib.Messaging.Http.Tests.csproj
index acd0af33..41b9c78a 100644
--- a/Tests/RockLib.Messaging.Http.Tests/RockLib.Messaging.Http.Tests.csproj
+++ b/Tests/RockLib.Messaging.Http.Tests/RockLib.Messaging.Http.Tests.csproj
@@ -6,9 +6,9 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Tests/RockLib.Messaging.Kafka.Tests/RockLib.Messaging.Kafka.Tests.csproj b/Tests/RockLib.Messaging.Kafka.Tests/RockLib.Messaging.Kafka.Tests.csproj
index 0d73b1de..6a4af233 100644
--- a/Tests/RockLib.Messaging.Kafka.Tests/RockLib.Messaging.Kafka.Tests.csproj
+++ b/Tests/RockLib.Messaging.Kafka.Tests/RockLib.Messaging.Kafka.Tests.csproj
@@ -6,11 +6,11 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Tests/RockLib.Messaging.NamedPipes.Tests/RockLib.Messaging.NamedPipes.Tests.csproj b/Tests/RockLib.Messaging.NamedPipes.Tests/RockLib.Messaging.NamedPipes.Tests.csproj
index fc02d0f0..c47a68de 100644
--- a/Tests/RockLib.Messaging.NamedPipes.Tests/RockLib.Messaging.NamedPipes.Tests.csproj
+++ b/Tests/RockLib.Messaging.NamedPipes.Tests/RockLib.Messaging.NamedPipes.Tests.csproj
@@ -6,10 +6,10 @@
-
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Tests/RockLib.Messaging.RabbitMQ.Tests/RockLib.Messaging.RabbitMQ.Tests.csproj b/Tests/RockLib.Messaging.RabbitMQ.Tests/RockLib.Messaging.RabbitMQ.Tests.csproj
index 50b97410..ad9fe462 100644
--- a/Tests/RockLib.Messaging.RabbitMQ.Tests/RockLib.Messaging.RabbitMQ.Tests.csproj
+++ b/Tests/RockLib.Messaging.RabbitMQ.Tests/RockLib.Messaging.RabbitMQ.Tests.csproj
@@ -6,11 +6,11 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Tests/RockLib.Messaging.SNS.Tests/RockLib.Messaging.SNS.Tests.csproj b/Tests/RockLib.Messaging.SNS.Tests/RockLib.Messaging.SNS.Tests.csproj
index dc20a1f2..b3c96d49 100644
--- a/Tests/RockLib.Messaging.SNS.Tests/RockLib.Messaging.SNS.Tests.csproj
+++ b/Tests/RockLib.Messaging.SNS.Tests/RockLib.Messaging.SNS.Tests.csproj
@@ -6,11 +6,11 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Tests/RockLib.Messaging.SQS.Tests/RockLib.Messaging.SQS.Tests.csproj b/Tests/RockLib.Messaging.SQS.Tests/RockLib.Messaging.SQS.Tests.csproj
index 9e22459e..bf643a6d 100644
--- a/Tests/RockLib.Messaging.SQS.Tests/RockLib.Messaging.SQS.Tests.csproj
+++ b/Tests/RockLib.Messaging.SQS.Tests/RockLib.Messaging.SQS.Tests.csproj
@@ -8,11 +8,11 @@
-
-
+
+
-
-
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Tests/RockLib.Messaging.Tests/MessagingExtensionsTests.cs b/Tests/RockLib.Messaging.Tests/MessagingExtensionsTests.cs
index 8f009976..a91c567a 100644
--- a/Tests/RockLib.Messaging.Tests/MessagingExtensionsTests.cs
+++ b/Tests/RockLib.Messaging.Tests/MessagingExtensionsTests.cs
@@ -30,7 +30,7 @@ public void AddSenderExtensionMethod1HappyPath()
var serviceProvider = services.BuildServiceProvider();
- serviceProvider.ExecutionTimeOf(s => s.GetRequiredService()).Should().BeLessOrEqualTo(250.Milliseconds());
+ serviceProvider.GetRequiredService().Should().NotBeNull();
}
[Fact]
@@ -44,7 +44,7 @@ public void AddReceiverExtensionMethod1HappyPath()
var serviceProvider = services.BuildServiceProvider();
- serviceProvider.ExecutionTimeOf(s => s.GetRequiredService()).Should().BeLessOrEqualTo(250.Milliseconds());
+ serviceProvider.GetRequiredService().Should().NotBeNull();
}
#pragma warning disable CA1034 // Nested types should not be visible