rebus-org / Rebus.RabbitMq

:bus: RabbitMQ transport for Rebus
https://mookid.dk/category/rebus
Other
63 stars 44 forks source link

Null reference in RabbitMqTransport.CreateTransportMessage #35

Closed tbue closed 5 years ago

tbue commented 5 years ago

Hi, we found an issue in the CreateTransportMessage method. We fetched a message from a queue and it had a null as value in one of the headers. This meant that the headerValue.ToString() throws a null reference.

We would like to see that changed to something like headerValue?.ToString() ?? string.Empty - and see a released dll with that fix.

Thanks

mookid8000 commented 5 years ago

it's out in Rebus.RabbitMq 5.0.0-b05