using RabbitMQ.Client; using System; namespace Admin.Core.EventBus { /// /// RabbitMQ持久连接 /// 接口 /// public interface IRabbitMQPersistentConnection : IDisposable { bool IsConnected { get; } bool TryConnect(); IModel CreateModel(); } }