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
  • Core
  • IRabbitEventBusContainer.cs
Find file
BlameHistoryPermalink
  • dingsongjie's avatar
    完成 基本测试 · 3ac920dd
    dingsongjie committed 5 years ago
    3ac920dd
IRabbitEventBusContainer.cs 453 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13
using System.Threading.Tasks;
using Pole.Core.EventBus;

namespace Pole.EventBus.RabbitMQ
{
    public interface IRabbitEventBusContainer : IConsumerContainer
    {
        bool IsAutoRegisterFinished { get; }
        Task AutoRegister();
        RabbitEventBus CreateEventBus(string exchange, string routePrefix, int lBCount = 1, bool autoAck = false, bool reenqueue = false, bool persistent = false);
        Task Work(RabbitEventBus bus);
    }
}