Exemple #1
0
 public static MessageInfo SendPersistent <T>(this IRabbitSender source, T message, string routingKey = "")
     where T : class
 {
     return(source.Send <T>(message, routingKey, options: SendOptions.Persistent));
 }
Exemple #2
0
 public static MessageInfo SendPersistentRaw(this IRabbitSender source, byte[] body, string routingKey = "")
 {
     return(source.SendRaw(body, routingKey, options: SendOptions.Persistent));
 }