@@ -72,7 +72,7 @@ namespace RabbitMQ.Client
72
72
public string? ContentEncoding { get; set; }
73
73
public string? ContentType { get; set; }
74
74
public string? CorrelationId { get; set; }
75
- public byte DeliveryMode { get; set; }
75
+ public RabbitMQ.Client.DeliveryModes DeliveryMode { get; set; }
76
76
public string? Expiration { get; set; }
77
77
public System.Collections.Generic.IDictionary<string, object?>? Headers { get; set; }
78
78
public string? MessageId { get; set; }
@@ -248,6 +248,11 @@ namespace RabbitMQ.Client
248
248
public DefaultEndpointResolver(System.Collections.Generic.IEnumerable<RabbitMQ.Client.AmqpTcpEndpoint> tcpEndpoints) { }
249
249
public System.Collections.Generic.IEnumerable<RabbitMQ.Client.AmqpTcpEndpoint> All() { }
250
250
}
251
+ public enum DeliveryModes : byte
252
+ {
253
+ Transient = 1,
254
+ Persistent = 2,
255
+ }
251
256
public static class EndpointResolverExtensions
252
257
{
253
258
public static T SelectOne<T>(this RabbitMQ.Client.IEndpointResolver resolver, System.Func<RabbitMQ.Client.AmqpTcpEndpoint, T> selector) { }
@@ -333,7 +338,7 @@ namespace RabbitMQ.Client
333
338
new string? ContentEncoding { get; set; }
334
339
new string? ContentType { get; set; }
335
340
new string? CorrelationId { get; set; }
336
- new byte DeliveryMode { get; set; }
341
+ new RabbitMQ.Client.DeliveryModes DeliveryMode { get; set; }
337
342
new string? Expiration { get; set; }
338
343
new System.Collections.Generic.IDictionary<string, object?>? Headers { get; set; }
339
344
new string? MessageId { get; set; }
@@ -527,7 +532,7 @@ namespace RabbitMQ.Client
527
532
string? ContentEncoding { get; }
528
533
string? ContentType { get; }
529
534
string? CorrelationId { get; }
530
- byte DeliveryMode { get; }
535
+ RabbitMQ.Client.DeliveryModes DeliveryMode { get; }
531
536
string? Expiration { get; }
532
537
System.Collections.Generic.IDictionary<string, object?>? Headers { get; }
533
538
string? MessageId { get; }
@@ -610,7 +615,7 @@ namespace RabbitMQ.Client
610
615
public string? ContentEncoding { get; }
611
616
public string? ContentType { get; }
612
617
public string? CorrelationId { get; }
613
- public byte DeliveryMode { get; }
618
+ public RabbitMQ.Client.DeliveryModes DeliveryMode { get; }
614
619
public string? Expiration { get; }
615
620
public System.Collections.Generic.IDictionary<string, object?>? Headers { get; }
616
621
public string? MessageId { get; }
0 commit comments