Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass sourceQueueName via System Message Attribute for DeadLetterQueueSourceArn #1086

Merged

Conversation

sergij
Copy link
Contributor

@sergij sergij commented Jan 3, 2025

DeadLetterQueueSourceArn is part of AWS SQS message metadata that conveys information about the original queue the message was sent to from where it got moved to DLQ. This enables SQS customers to move messages back to the original queue without using redrive operation. Original SQS behaviour exposes DeadLetterQueueSourceArn on messages received from DLQ, with this change messages received from DLQ from elasticmq will follow the same pattern.

@micossow
Copy link
Contributor

micossow commented Jan 6, 2025

Thanks for contribution! I changed it a bit to use a dedicated field in the internal message structure instead of system attributes and added missing changes.

@micossow micossow merged commit 289fa90 into softwaremill:master Jan 6, 2025
18 checks passed
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.

2 participants