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.ReliableMessage.Storage.Abstraction
  • MessageStatus.cs
Find file
BlameHistoryPermalink
  • dingsongjie's avatar
    移除 可靠消息的 幂等性,在微服务中每个api都需要在高并发下幂等,可靠消息中的幂等也需要 使用者自己保证幂等 · 38809d97
    dingsongjie committed 5 years ago
    38809d97
MessageStatus.cs 614 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
using Pole.Domain;
using System;
using System.Collections.Generic;
using System.Text;

namespace Pole.ReliableMessage.Storage.Abstraction
{
    public class MessageStatus : Enumeration
    {
        public static MessageStatus Pending = new MessageStatus(3,"待发送");
        public static MessageStatus Pushed = new MessageStatus(6,"已发送");
        public static MessageStatus Canced = new MessageStatus(9,"已取消");
        //public static MessageStatus Handed = new MessageStatus(12, "已处理");

        public MessageStatus(int id,string name ):base(id,name)
        {

        }     
    }
}