namespace Pole.EventBus.RabbitMQ
{
///
/// Consumer配置信息
///
public class ConsumerOptions
{
///
/// 是否自动ack
///
public bool AutoAck { get; set; }
///
/// 消息处理失败是否重回队列
///
public bool Reenqueue { get; set; }
///
/// 错误队列后缀
///
public string ErrorQueueSuffix { get; set; }
///
/// 消息处理失败最大重试次数
///
public int MaxReenqueueTimes { get; set; }
}
}