-
Is your feature request related to a problem? Please describe.When a message is dead-lettered via Currently, RabbitMQ only adds the
Application-level context about why the message failed:
Describe the solution you'd likeIntroduce a new method like basic.dead-letter: like a await channel.BasicRejectWithAnnotationsAsync( Describe alternatives you've consideredNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
@fuatozerr while we can extend the protocol with new methods, the bar for doing that is very high. If your applications need to provide more context to other applications, they can use the request-response (tutorial 6) approach and make the "server" part send an extra message before negatively acknowledging the delivery. Logging more context, tracing and metrics also help with observability. The Conclusion: we won't introduce a new protocol method for passing stack traces around in |
Beta Was this translation helpful? Give feedback.
-
|
@fuatozerr RabbitMQ already supports this but you have to use the AMQP (1.0) protocol and "modified" outcome. See: https://www.rabbitmq.com/blog/2024/10/11/modified-outcome |
Beta Was this translation helpful? Give feedback.
@fuatozerr RabbitMQ already supports this but you have to use the AMQP (1.0) protocol and "modified" outcome. See: https://www.rabbitmq.com/blog/2024/10/11/modified-outcome