1
0
mirror of synced 2024-12-22 01:03:07 +01:00

Fix for JSON parse error on x-dead-letter-exchange argument

This commit is contained in:
Mark van Renswoude 2023-03-30 13:04:43 +02:00
parent 3ab8b19393
commit 1b9bac41a6

View File

@ -313,7 +313,7 @@ namespace Tapeti.Connection
}
private static RabbitMQArguments? ConvertJsonArguments(IReadOnlyDictionary<string, JObject>? arguments)
private static RabbitMQArguments? ConvertJsonArguments(IReadOnlyDictionary<string, JValue>? arguments)
{
if (arguments == null)
return null;
@ -599,7 +599,7 @@ namespace Tapeti.Connection
public bool Exclusive { get; set; }
[JsonProperty("arguments")]
public Dictionary<string, JObject>? Arguments { get; set; }
public Dictionary<string, JValue>? Arguments { get; set; }
[JsonProperty("messages")]
public uint Messages { get; set; }