You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
using RabbitMQ.Client;
|
|
using System;
|
|
|
|
namespace Admin.Core.EventBus
|
|
{
|
|
/// <summary>
|
|
/// RabbitMQ持久连接
|
|
/// 接口
|
|
/// </summary>
|
|
public interface IRabbitMQPersistentConnection
|
|
: IDisposable
|
|
{
|
|
bool IsConnected { get; }
|
|
|
|
bool TryConnect();
|
|
|
|
IModel CreateModel();
|
|
}
|
|
}
|