rabbitmq-cdi
rabbitmq-cdi copied to clipboard
Dynamic Headers
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?
It might be worth to directly go for DynamicProperties so you can also modify the other non header properties on the fly
@Gr33nbl00d give it a go
I will add it in the next days was on vacation :)