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