Skip to content

Commit

Permalink
v 2.4.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jlnovais committed Nov 2, 2022
1 parent ba74cae commit 3a7cf0b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
6 changes: 4 additions & 2 deletions JN.RabbitMQClient.TestApp/HelperClasses/SettingsHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public static BrokerConfigConsumers GetBrokerConfigConsumers(this IConfiguration
RoutingKeyOrQueueName = section["RoutingKeyOrQueueName"],
TotalInstances = totalInstances,
ShuffleHostList = shuffleHostList,
UseTLS = useTls
UseTLS = useTls,
ConnectionTimeoutSeconds = Convert.ToInt16(section["ConnectionTimeoutSeconds"])
};

return conf;
Expand All @@ -56,7 +57,8 @@ public static BrokerConfigSender GetBrokerConfigSender(this IConfiguration confi
RoutingKeyOrQueueName = section["RoutingKeyOrQueueName"],
ShuffleHostList = shuffleHostList,
UseTLS = useTls,
KeepConnectionOpen = keepConnectionOpen
KeepConnectionOpen = keepConnectionOpen,
ConnectionTimeoutSeconds = Convert.ToInt16(section["ConnectionTimeoutSeconds"])

};

Expand Down
2 changes: 2 additions & 0 deletions JN.RabbitMQClient.TestApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ private static IServiceCollection ConfigureServices()
options.ShuffleHostList = userOptions.ShuffleHostList;
options.UseTLS = userOptions.UseTLS;
options.VirtualHost = userOptions.VirtualHost;
options.ConnectionTimeoutSeconds = userOptions.ConnectionTimeoutSeconds;
});

services.AddSenderService(configSender);
Expand Down
6 changes: 4 additions & 2 deletions JN.RabbitMQClient.TestApp/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"ShuffleHostList": true,
"TotalInstances": 1,
"UseTLS": false,
"ConsumersPrefetch": 3
"ConsumersPrefetch": 3,
"ConnectionTimeoutSeconds": 3
},

"BrokerConfigSender": {
Expand All @@ -25,7 +26,8 @@
"Exchange": "",
"UseTLS": false,
"KeepConnectionOpen": true,
"ShuffleHostList": false
"ShuffleHostList": false,
"ConnectionTimeoutSeconds": 4
},

"BrokerConfigConsumersRetry": {
Expand Down
8 changes: 6 additions & 2 deletions JN.RabbitMQClient/JN.RabbitMQClient.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>JN.RabbitMQClient</id>
<version>2.4.3</version>
<version>2.4.3.1</version>
<authors>José Novais</authors>
<owners>José Novais</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -17,7 +17,11 @@
<summary>Simple implementation of RabbitMQ consumer and sender.</summary>
<copyright>José Novais, 2022</copyright>
<releaseNotes>
Release Notes for current version (2.4.3):
Release Notes for current version 2.4.3.1:

- Added connection timeout

Release Notes for version 2.4.3:

- Added service extensions AddConsumersService() and AddSenderService() (in namespace JN.RabbitMQClient.Extensions)
- Added ConnectionDetails readonly property
Expand Down

0 comments on commit 3a7cf0b

Please sign in to comment.