diff --git a/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/ConnectionHelper.cs b/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/ConnectionHelper.cs index 05c68309c..379f4bc37 100644 --- a/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/ConnectionHelper.cs +++ b/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/ConnectionHelper.cs @@ -20,7 +20,6 @@ public class ConnectionHelper var factory = new ConnectionFactory { AutomaticRecoveryEnabled = true, - UseBackgroundThreadsForIO = true, HostName = connectionConfiguration.Host, Port = connectionConfiguration.Port, VirtualHost = connectionConfiguration.VirtualHost, diff --git a/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/NServiceBus.Transport.RabbitMQ.AcceptanceTests.csproj b/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/NServiceBus.Transport.RabbitMQ.AcceptanceTests.csproj index 78ad0bbb3..351fa6752 100644 --- a/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/NServiceBus.Transport.RabbitMQ.AcceptanceTests.csproj +++ b/src/NServiceBus.Transport.RabbitMQ.AcceptanceTests/NServiceBus.Transport.RabbitMQ.AcceptanceTests.csproj @@ -19,7 +19,7 @@ - + diff --git a/src/NServiceBus.Transport.RabbitMQ.CommandLine/NServiceBus.Transport.RabbitMQ.CommandLine.csproj b/src/NServiceBus.Transport.RabbitMQ.CommandLine/NServiceBus.Transport.RabbitMQ.CommandLine.csproj index 165f99f54..515e36fcd 100644 --- a/src/NServiceBus.Transport.RabbitMQ.CommandLine/NServiceBus.Transport.RabbitMQ.CommandLine.csproj +++ b/src/NServiceBus.Transport.RabbitMQ.CommandLine/NServiceBus.Transport.RabbitMQ.CommandLine.csproj @@ -15,7 +15,7 @@ - + diff --git a/src/NServiceBus.Transport.RabbitMQ.Tests/NServiceBus.Transport.RabbitMQ.Tests.csproj b/src/NServiceBus.Transport.RabbitMQ.Tests/NServiceBus.Transport.RabbitMQ.Tests.csproj index e078ae4dc..26b6cdac8 100644 --- a/src/NServiceBus.Transport.RabbitMQ.Tests/NServiceBus.Transport.RabbitMQ.Tests.csproj +++ b/src/NServiceBus.Transport.RabbitMQ.Tests/NServiceBus.Transport.RabbitMQ.Tests.csproj @@ -21,7 +21,7 @@ - + diff --git a/src/NServiceBus.Transport.RabbitMQ.TransportTests/ConnectionHelper.cs b/src/NServiceBus.Transport.RabbitMQ.TransportTests/ConnectionHelper.cs index a49764bea..8f7a5f00b 100644 --- a/src/NServiceBus.Transport.RabbitMQ.TransportTests/ConnectionHelper.cs +++ b/src/NServiceBus.Transport.RabbitMQ.TransportTests/ConnectionHelper.cs @@ -19,7 +19,6 @@ public class ConnectionHelper var factory = new ConnectionFactory { AutomaticRecoveryEnabled = true, - UseBackgroundThreadsForIO = true, HostName = connectionStringParser.Host, Port = connectionStringParser.Port, VirtualHost = connectionStringParser.VirtualHost, diff --git a/src/NServiceBus.Transport.RabbitMQ.TransportTests/NServiceBus.Transport.RabbitMQ.TransportTests.csproj b/src/NServiceBus.Transport.RabbitMQ.TransportTests/NServiceBus.Transport.RabbitMQ.TransportTests.csproj index 0fe6724a9..ed7051b4e 100644 --- a/src/NServiceBus.Transport.RabbitMQ.TransportTests/NServiceBus.Transport.RabbitMQ.TransportTests.csproj +++ b/src/NServiceBus.Transport.RabbitMQ.TransportTests/NServiceBus.Transport.RabbitMQ.TransportTests.csproj @@ -17,7 +17,7 @@ - + diff --git a/src/NServiceBus.Transport.RabbitMQ/Connection/ConnectionFactory.cs b/src/NServiceBus.Transport.RabbitMQ/Connection/ConnectionFactory.cs index bdf57dc94..9e545f15c 100644 --- a/src/NServiceBus.Transport.RabbitMQ/Connection/ConnectionFactory.cs +++ b/src/NServiceBus.Transport.RabbitMQ/Connection/ConnectionFactory.cs @@ -40,7 +40,6 @@ public ConnectionFactory(string endpointName, ConnectionConfiguration connection Password = connectionConfiguration.Password, RequestedHeartbeat = heartbeatInterval, NetworkRecoveryInterval = networkRecoveryInterval, - UseBackgroundThreadsForIO = true, DispatchConsumersAsync = true, }; diff --git a/src/NServiceBus.Transport.RabbitMQ/NServiceBus.Transport.RabbitMQ.csproj b/src/NServiceBus.Transport.RabbitMQ/NServiceBus.Transport.RabbitMQ.csproj index b26edfb61..c7ce31978 100644 --- a/src/NServiceBus.Transport.RabbitMQ/NServiceBus.Transport.RabbitMQ.csproj +++ b/src/NServiceBus.Transport.RabbitMQ/NServiceBus.Transport.RabbitMQ.csproj @@ -9,7 +9,7 @@ - +