-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathDelayedDeliveryOptions.cs
More file actions
40 lines (35 loc) · 953 Bytes
/
DelayedDeliveryOptions.cs
File metadata and controls
40 lines (35 loc) · 953 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
namespace NServiceBus.Transport.PostgreSql
{
using System;
/// <summary>
/// Configures native delayed delivery.
/// </summary>
public partial class DelayedDeliveryOptions
{
internal DelayedDeliveryOptions() { }
/// <summary>
/// Suffix to be appended to the table name storing delayed messages.
/// </summary>
public string TableSuffix
{
get;
set
{
ArgumentException.ThrowIfNullOrWhiteSpace(value);
field = value;
}
} = "Delayed";
/// <summary>
/// Size of the batch when moving matured timeouts to the input queue.
/// </summary>
public int BatchSize
{
get;
set
{
ArgumentOutOfRangeException.ThrowIfNegativeOrZero(value);
field = value;
}
} = 100;
}
}