rabbitmq-cdi icon indicating copy to clipboard operation
rabbitmq-cdi copied to clipboard

Dynamic Headers

Open Gr33nbl00d opened this issue 4 years ago • 3 comments

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 avatar Sep 02 '20 09:09 Gr33nbl00d

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

Gr33nbl00d avatar Sep 02 '20 09:09 Gr33nbl00d

@Gr33nbl00d give it a go

reinhapa avatar Sep 03 '20 14:09 reinhapa

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

Gr33nbl00d avatar Sep 29 '20 08:09 Gr33nbl00d