zeroframework/BuildingBlocks/EventBus/ZeroFramework.EventBus.RabbitMQ/IRabbitMQPersistentConnection.cs

13 lines
242 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using RabbitMQ.Client;
namespace ZeroFramework.EventBus.RabbitMQ
{
public interface IRabbitMQPersistentConnection : IDisposable
{
bool IsConnected { get; }
bool TryConnect();
IModel CreateModel();
}
}