zeroframework/BuildingBlocks/EventBus/ZeroFramework.EventBus.RabbitMQ/IRabbitMQPersistentConnection.cs
2023-12-05 17:22:48 +08:00

13 lines
242 B
C#

using RabbitMQ.Client;
namespace ZeroFramework.EventBus.RabbitMQ
{
public interface IRabbitMQPersistentConnection : IDisposable
{
bool IsConnected { get; }
bool TryConnect();
IModel CreateModel();
}
}