Skip to content

Dead letter publisher patterns #1161

Answered by Lancetnik
darioprencipe asked this question in Q&A
Discussion options

You must be logged in to vote

@darioprencipe your code is working, but not using the native RMQ dead-letter features.
FastStream allows you to manual ack/nack message even without 'no_ack' argument (in this case it justdo nothing if message already acked inside your handler), but the preferred way - use RMQ dead-letter exchange and bind it to queue using queue bind arguments

https://www.rabbitmq.com/dlx.html#using-optional-queue-arguments

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@darioprencipe
Comment options

@Lancetnik
Comment options

@darioprencipe
Comment options

@darioprencipe
Comment options

@Lancetnik
Comment options

Answer selected by darioprencipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants