Skip to content
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

Do not cache property setter actions from VisibilityBypasser #466

Merged
merged 5 commits into from
Feb 22, 2021

Conversation

nr-ahemsath
Copy link
Member

@nr-ahemsath nr-ahemsath commented Feb 22, 2021

Description

Fixes #464 by no longer caching the Action returned from the VisibilityBypasser that allows the RabbitMQ BasicProperties.Headers dictionary to be set by our instrumentation wrapper.

Testing

RabbitMQ DT integration tests updated to make multiple pub/sub calls across the queue to verify it works the second time.

Added unit tests for the VisibilityBypasser.Instance.GeneratePropertySetter method.

Changelog

Changelog updated.

@nr-ahemsath nr-ahemsath added the bug Something isn't working label Feb 22, 2021
Copy link
Member

@jaffinito jaffinito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good and tests pass!

@nr-ahemsath nr-ahemsath merged commit 99d9a50 into main Feb 22, 2021
@nr-ahemsath nr-ahemsath deleted the fix-rabbitmq-headers-property-setter branch May 7, 2021 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Distributed Tracing over RabbitMQ does not work with RabbitMQ.Client version 6.x
2 participants