Skip to content

Commit

Permalink
fix: add deadletter for kbo sync queue
Browse files Browse the repository at this point in the history
  • Loading branch information
emalfroy committed Jan 17, 2025
1 parent a6df1b4 commit fad08f8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ private static void ConfigureKboSyncQueuePublisher(WolverineOptions options, str
options.ListenToSqsQueue("kbo-sync-production", configure: configure =>
{
configure.MaxNumberOfMessages = 1;
configure.DeadLetterQueueName = "kbo-sync-production-dead-letter-queue";
})
.ConfigureDeadLetterQueue("kbo-sync-production-dead-letter-queue")
.MaximumParallelMessages(1);
}

Expand Down

0 comments on commit fad08f8

Please sign in to comment.