From 6198c47e50a95ca0f9f4e45dbbba71a8eeaf8aa9 Mon Sep 17 00:00:00 2001 From: Mark van Renswoude Date: Sun, 12 Feb 2017 19:15:56 +0100 Subject: [PATCH] Renamed StaticQueue attribute to DurableQueue to match RabbitMQ terminology (breaking change) Changed default delivery mode to persistent --- .../{StaticQueueAttribute.cs => DurableQueueAttribute.cs} | 4 ++-- Tapeti.Annotations/Tapeti.Annotations.csproj | 2 +- Tapeti/Connection/TapetiWorker.cs | 5 ++++- Tapeti/TapetiConfig.cs | 8 ++++---- 4 files changed, 11 insertions(+), 8 deletions(-) rename Tapeti.Annotations/{StaticQueueAttribute.cs => DurableQueueAttribute.cs} (87%) diff --git a/Tapeti.Annotations/StaticQueueAttribute.cs b/Tapeti.Annotations/DurableQueueAttribute.cs similarity index 87% rename from Tapeti.Annotations/StaticQueueAttribute.cs rename to Tapeti.Annotations/DurableQueueAttribute.cs index 2a9c6b1..bf4cac7 100644 --- a/Tapeti.Annotations/StaticQueueAttribute.cs +++ b/Tapeti.Annotations/DurableQueueAttribute.cs @@ -12,12 +12,12 @@ namespace Tapeti.Annotations /// for deploy-time management of durable queues (shameless plug intended). /// [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)] - public class StaticQueueAttribute : Attribute + public class DurableQueueAttribute : Attribute { public string Name { get; set; } - public StaticQueueAttribute(string name) + public DurableQueueAttribute(string name) { Name = name; } diff --git a/Tapeti.Annotations/Tapeti.Annotations.csproj b/Tapeti.Annotations/Tapeti.Annotations.csproj index 55b874f..4413722 100644 --- a/Tapeti.Annotations/Tapeti.Annotations.csproj +++ b/Tapeti.Annotations/Tapeti.Annotations.csproj @@ -46,7 +46,7 @@ - +