Manipulation of headers (adding a new one) inside CustomMessageIdStrategy no longer works in NServiceBus 7.1

Hi Marin!

We just released NServiceBus.RabbitMQ 5.1.0 that allows access to the BasicDeliveryEventArgs to allow you to extract the info you need.

The documentation for this is here : RabbitMQ transport native integration sample • RabbitMQ Transport Samples • Particular Docs

We’ve also consolidated information relevant to integrating native RabbitMQ apps with NServiceBus endpoints here:

Hope this helps!

Cheers,

Andreas