question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trace information is missing when Exception is thrown from RabbitListener methods

See original GitHub issue

Describe 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:closed
  • Created 3 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
jonatan-ivanovcommented, Dec 18, 2020

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. 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found