Implement Max Queue and Max Batch size when publishing

MaxPublishBatchSize must be set, but MaxQueueSize can be set to 0 to disable check of the rabbitmq queue size
This commit is contained in:
iPromKnight
2024-02-02 14:43:29 +00:00
parent 8ad6cf731c
commit 57f4757541
7 changed files with 83 additions and 13 deletions

View File

@@ -5,8 +5,8 @@
"Password": "guest",
"QueueName": "test-queue",
"Durable": true,
"MaxQueueSize": 1000,
"MaxPublishBatchSize": 100,
"MaxQueueSize": 0,
"MaxPublishBatchSize": 1,
"PublishIntervalInSeconds": 10
}
}