1
0
mirror of synced 2024-11-05 02:59:16 +00:00
Tapeti/IPublisher.cs

18 lines
385 B
C#

using System.Threading.Tasks;
using RabbitMQ.Client;
namespace Tapeti
{
public interface IPublisher
{
Task Publish(object message);
}
public interface IAdvancedPublisher : IPublisher
{
Task Publish(object message, IBasicProperties properties);
Task PublishDirect(object message, string queueName, IBasicProperties properties);
}
}