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

Fix SkipSerialization leak #6361

Merged
merged 3 commits into from
Apr 20, 2022
Merged

Fix SkipSerialization leak #6361

merged 3 commits into from
Apr 20, 2022

Conversation

timbussmann
Copy link
Contributor

@timbussmann timbussmann commented Apr 20, 2022

Relates to #6223

The SkipSerialization configuration can leak into nested sends, preventing nested sends to be correctly deserialized. This could lead to complete message loss as the receiving endpoint might discard the message due to the missing body.

This setting is currently only used by callbacks.

Since MessageOperationProperties are read-only, the behavior needs to set values scoped to the current message operation, which can be identified by the message id.

@timbussmann timbussmann requested a review from cquirosj April 20, 2022 09:43
@timbussmann timbussmann merged commit 91f9c40 into release-7.7 Apr 20, 2022
@timbussmann timbussmann deleted the fix-skipserialization branch April 20, 2022 12:59
@timbussmann timbussmann added this to the 7.7.2 milestone Apr 20, 2022
timbussmann added a commit that referenced this pull request Apr 20, 2022
timbussmann added a commit that referenced this pull request Apr 20, 2022
timbussmann added a commit that referenced this pull request Apr 20, 2022
timbussmann added a commit that referenced this pull request Apr 20, 2022
@timbussmann timbussmann modified the milestone: 7.7.2 Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants