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

Allow ISenderContext.Request to propagate headers #2025

Merged
merged 1 commit into from
Jun 20, 2023

Conversation

mhelleborg
Copy link
Member

Description

Previously ISenderContext.Request would wrap the passed in MessageEnvelope in a new message envelope even if it already was one. This will send an updated MessageEnvelope which retains the existing headers.

Purpose

This pull request is a:

  • Bugfix (breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Breaking change

If people have worked around the behaviour and un-nested envelopes in the actor, this will change nested MessageEnvelopes to ble flattened to a single instance.

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

…Request.

Previously it would wrap the passed in MessageEnvelope in a new message envelope when passed to request. This will send an updated MessageEnvelope which retains the existing headers.
@mhelleborg mhelleborg merged commit 2a6f3be into dev Jun 20, 2023
@mhelleborg mhelleborg deleted the avoid-double-wrapping-messageenvelope branch June 20, 2023 10:40
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.

1 participant