using EasyNetQ; using System; using System.Threading.Tasks; namespace XYY.TaskTrack.Standard { public interface IMQManager { Task Publish(T message, Action configure = null) where T : class; Task PublishDeadMessage(DeadMessage deadMessage) where T : class; Task Subscribe(IBaseConsumer consumer) where T : class; } }