using RabbitMQ.Client; using System; using System.Collections.Generic; using System.Text; namespace Core.RabbitMQBus.EventBus { public interface IConnectionChannel { /// /// 获取Channel /// /// IModel GetChannel(); /// /// 创建连接 /// /// IConnection GetConnection(); /// /// 交换机名称 /// string ExchangeName { get; } } }