1
0
mirror of synced 2024-07-01 08:17:39 +00:00
Tapeti/IPublisher.cs

18 lines
385 B
C#
Raw Normal View History

2016-11-17 16:33:27 +00:00
using System.Threading.Tasks;
using RabbitMQ.Client;
2016-11-17 16:33:27 +00:00
namespace Tapeti
{
public interface IPublisher
{
2016-11-17 16:33:27 +00:00
Task Publish(object message);
}
public interface IAdvancedPublisher : IPublisher
{
Task Publish(object message, IBasicProperties properties);
Task PublishDirect(object message, string queueName, IBasicProperties properties);
}
}