Trace information is missing when Exception is thrown from RabbitListener methods
See original GitHub issueDescribe the bug
When an exception is thrown from a method annotated with @RabbitListener
all trace information is lost when it reaches the ConditionalRejectingErrorHandler
Sample I have created a minimal application that reproduces the issue with a little more context that can be found here: https://github.com/goober/spring-sleuth-rabbit-bug
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Trace information is missing when Exception is thrown from ...
When an exception is thrown from a method annotated with @RabbitListener all trace information is lost when it reaches the ConditionalRejectingErrorHandler.
Read more >SpringAMQP errorHandler and returnExceptions problem
1 Answer 1 ... 1) No, you don't need en error handler, unless you want to enhance the exception. 2) If the method...
Read more >Spring AMQP
Enabling observation for timers and tracing using Micrometer is now supported. See Micrometer Observation for more information.
Read more >Reference - Steeltoe Documentation
If the time is exceeded, an RabbitTimeoutException is thrown. When the cache mode is CONNECTION , automatic declaration of queues and other AMQP...
Read more >Getting started with RabbitMQ in Spring Boot - Medium
Then I skimmed through a few java tutorial pages and was amazed with how easy it ... Thus, messages will be lost if...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fyi: I have a fix for this: https://github.com/spring-projects/spring-amqp/pull/1287 I asked for feedback, let’s see if this can be merged. 😃
See https://github.com/spring-cloud/spring-cloud-sleuth/issues/1660#issuecomment-776265734