13 lines
242 B
C#
13 lines
242 B
C#
using RabbitMQ.Client;
|
|
|
|
namespace ZeroFramework.EventBus.RabbitMQ
|
|
{
|
|
public interface IRabbitMQPersistentConnection : IDisposable
|
|
{
|
|
bool IsConnected { get; }
|
|
|
|
bool TryConnect();
|
|
|
|
IModel CreateModel();
|
|
}
|
|
} |