Skip to content

Comments

Centralize DLQ constants into DeadLetterQueueConstants#2171

Merged
jeremydmiller merged 1 commit intomainfrom
introduce-constants
Feb 12, 2026
Merged

Centralize DLQ constants into DeadLetterQueueConstants#2171
jeremydmiller merged 1 commit intomainfrom
introduce-constants

Conversation

@jeremydmiller
Copy link
Member

Summary

  • Add DeadLetterQueueConstants class in Wolverine.Transports with the shared default DLQ name (wolverine-dead-letter-queue) and exception header keys (exception-type, exception-message, exception-stack, failed-at)
  • Update AWS SQS, Azure Service Bus, RabbitMQ, and Kafka transports to derive their DLQ name constants from the central source
  • Update Kafka and Redis listeners to use header constants instead of repeated string literals

Test plan

  • All transport projects compile with 0 errors
  • Verify existing transport test suites still pass (no behavioral change — values are identical)

🤖 Generated with Claude Code

Extract repeated dead letter queue name and exception header strings
into a shared DeadLetterQueueConstants class so all transports reference
a single source of truth.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant