1
0
mirror of synced 2024-11-16 14:53:50 +00:00
Tapeti/Tapeti.Annotations/MandatoryAttribute.cs
2019-03-19 11:47:52 +01:00

16 lines
479 B
C#

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
{
}
}