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

Dynamic Headers #148

Open
Gr33nbl00d opened this issue Sep 2, 2020 · 3 comments
Open

Dynamic Headers #148

Gr33nbl00d opened this issue Sep 2, 2020 · 3 comments

Comments

@Gr33nbl00d
Copy link
Contributor

Gr33nbl00d commented Sep 2, 2020

I have the need to include dynamic headers per message. The data which i want to send contain some identifiers which need to be set to the header on the fly.

Sugestion: Add another Method similar to withRoutingKey to calculate dynamic header.
i would name the method withDynamicHeaders(). Can you agree to this?
I would prepare a pull request.

Is the idea ok for you?

@Gr33nbl00d
Copy link
Contributor Author

It might be worth to directly go for DynamicProperties so you can also modify the other non header properties on the fly

@reinhapa
Copy link
Owner

reinhapa commented Sep 3, 2020

@Gr33nbl00d give it a go

@Gr33nbl00d
Copy link
Contributor Author

I will add it in the next days was on vacation :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants