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

headerExclusions: for inbound messages #235

Closed
GreenRover opened this issue Sep 7, 2023 · 1 comment · Fixed by #279 or #280
Closed

headerExclusions: for inbound messages #235

GreenRover opened this issue Sep 7, 2023 · 1 comment · Fixed by #279 or #280
Labels
enhancement New feature or request

Comments

@GreenRover
Copy link
Contributor

We currently face a problem with the headerExclusions options.

The situation:
Spring boot 2.7 application sends out messages with spring-cloud-stream
And will add unintentionally following header to messages.
nativeHeaders: a base 64 encoded thing
solace_scst_serializedHeaders: [nativeHeaders, id]

A spring boot 3.1.2 application wants to receive those messages via spring-cloud-stream
But spring-cloud-stream changed the model of the nativeHeaders
This leads to be not able to consume the message with the new application, without modifying the old data sender.

The solution
Add option headerExclusions for message consumer as well.

@Nephery Nephery added the enhancement New feature or request label Sep 7, 2023
This was linked to pull requests Mar 25, 2024
@Nephery
Copy link
Collaborator

Nephery commented Mar 25, 2024

Fixed with #279

@Nephery Nephery closed this as completed Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants