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 customization of native outgoing messages #1468

Merged
merged 4 commits into from
Nov 5, 2024

Conversation

SzymonPobiega
Copy link
Member

@SzymonPobiega SzymonPobiega commented Oct 14, 2024

Adds an API for registering a callback that can modify messages just before they are dispatched to the broker. It allows setting AMQP properties that can't be influenced otherwise or override NServiceBus default behavior if the receiver expects a very specific message format.

@SzymonPobiega SzymonPobiega force-pushed the set-native-content-type branch from b3d7983 to 6297709 Compare October 25, 2024 07:50
@SzymonPobiega SzymonPobiega changed the title Allow setting content-type AMQP attribute via DispatchProperties for the purposes of native integration directly via the transport seam Allow setting customizing the outgoing messages by setting AMQP attributes just before dispatching the message to the broker Oct 25, 2024
…header entry

Co-authored-by: Daniel Marbach <daniel.marbach@openplace.net>
@SzymonPobiega SzymonPobiega force-pushed the set-native-content-type branch from 3ba3cd8 to c4f3f9a Compare October 28, 2024 09:55
Co-authored-by: Daniel Marbach <daniel.marbach@openplace.net>
@SzymonPobiega
Copy link
Member Author

Folks, given that we were able to verify it work OK in the connector, could you re-approve so that I can merge and release it?

Co-authored-by: Daniel Marbach <daniel.marbach@openplace.net>
@SzymonPobiega SzymonPobiega merged commit bb869a8 into master Nov 5, 2024
3 checks passed
@SzymonPobiega SzymonPobiega deleted the set-native-content-type branch November 5, 2024 09:25
SzymonPobiega added a commit that referenced this pull request Nov 5, 2024
Allow setting customizing the outgoing messages by setting AMQP attributes just before dispatching the message to the broker
@WilliamBZA WilliamBZA added this to the 9.2.0 milestone Nov 19, 2024
@WilliamBZA WilliamBZA changed the title Allow setting customizing the outgoing messages by setting AMQP attributes just before dispatching the message to the broker Allow customization of native outgoing messages Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants