1
0
mirror of synced 2024-06-29 07:17:39 +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);
}
}