1
0
mirror of synced 2024-11-14 22:33:50 +00:00
Tapeti/Tapeti.Annotations/MandatoryAttribute.cs

16 lines
479 B
C#
Raw Normal View History

using System;
namespace Tapeti.Annotations
{
/// <inheritdoc />
/// <summary>
/// Can be attached to a message class to specify that delivery to a queue must be guaranteed.
/// Publish will fail if no queues bind to the routing key. Publisher confirms must be enabled
/// on the connection for this to work (enabled by default).
/// </summary>
[AttributeUsage(AttributeTargets.Class)]
public class MandatoryAttribute : Attribute
{
}
}