Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

丁松杰 / Pole

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • Pole
  • src
  • Pole.EventBus.Rabbitmq
  • Configuration
  • ConsumerOptions.cs
Find file
BlameHistoryPermalink
  • 丁松杰's avatar
    完成 发送者 发送确认 以及部分 消费者 重试及错误队列的功能 · 8fc078fb
    丁松杰 committed 5 years ago
    8fc078fb
ConsumerOptions.cs 678 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
namespace Pole.EventBus.RabbitMQ
{
    /// <summary>
    /// Consumer配置信息
    /// </summary>
    public class ConsumerOptions
    {
        /// <summary>
        /// 是否自动ack
        /// </summary>
        public bool AutoAck { get; set; }
        /// <summary>
        /// 消息处理失败是否重回队列
        /// </summary>
        public bool Reenqueue { get; set; }
        /// <summary>
        /// 错误队列后缀
        /// </summary>
        public string ErrorQueueSuffix { get; set; }
        /// <summary>
        /// 消息处理失败最大重试次数
        /// </summary>
        public int MaxReenqueueTimes { get; set; }
    }
}