- Notifications
You must be signed in to change notification settings - Fork 327
support Spring AMQP's SimpleMessageListenerContainer #1657
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
support Spring AMQP's SimpleMessageListenerContainer #1657
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪💚 Flaky test reportTests succeeded. Expand to view the summary
Test stats 🧪
|
Codecov Report
@@ Coverage Diff @@ ## master #1657 +/- ## ============================================ + Coverage 58.37% 62.98% +4.60% - Complexity 92 3457 +3365 ============================================ Files 422 370 -52 Lines 18832 17009 -1823 Branches 2609 2339 -270 ============================================ - Hits 10994 10713 -281 + Misses 7064 5548 -1516 + Partials 774 748 -26
Continue to review full report at Codecov.
|
…irectMessageListenerContainer
This reverts commit c161a90
6c12bc1 to 8c640fa Compare | Hi @eyalkoren , @felixbarny |
…spring-amqp-simplemessagelistenercontainer
| @kananindzya I finally got to this PR. You did great job! 👏 I started by just rearranging modules - since you already added a module for the tests, I moved all instrumentation code to it, leaving the base RabbitMQ module nondependent in Spring in any way. Thanks for your invaluable contribution!! 🙏 |
| @kananindzya well done!! What about supporting the batch API - |
…spring-amqp-simplemessagelistenercontainer
eyalkoren left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As per the spec, the default exchange in RabbitMQ is represented by an empty string, which we want to replace with <default>. The Spring AMQP module should make use of the co.elastic.apm.agent.rabbitmq.AbstractBaseInstrumentation#normalizeExchangeName method for that.
@kananindzya, if you have a test case that uses the default exchange, please add it and I will add the required change.
please check new test |
…spring-amqp-simplemessagelistenercontainer


closes #1635
What does this PR do?
Checklist