In the 2.5.0 version of Memory Provider, to pass headers to the memory bus during .Publish one has to enable message serialization (disabled by default). We should have a way to allow header passing to consumers regardless if the serialization is enabled or disabled.
In the 2.5.0 version of Memory Provider, to pass headers to the memory bus during
.Publish
one has to enable message serialization (disabled by default). We should have a way to allow header passing to consumers regardless if the serialization is enabled or disabled.See here:
https://github.com/zarusz/SlimMessageBus/blob/8f8b340e37600f57c65556b93a53a40bdbebd566/src/SlimMessageBus.Host.Memory/MemoryMessageBus.cs#L58