Eugen Gorgan
Eugen Gorgan

Reputation: 11

Pub/Sub not working between NServiceBus 4.3 and 3.3 endpoints

We are in the process of upgrading NServiceBus from 3.3 to 4.3

We've got 2 NServiceBus endpoints of different versions. One is the publisher(still using version 3.3) and one is the subscriber(using new 4.3 version). The subscriber is using Bus.Subscribe method to subscribe

What we see is that publisher is receiving subscription messages into its queue with the NServiceBus.MessageIntent equal to Subscribe in its header. When processing these subscription messages publisher(version 3.3) is unsubscribing instead. Here is what we see in the logs

NServiceBus.Unicast.BackwardCompatibility.IncomingSubscriptionMessageMutator [(null)] - Just mutated V3.0.0 to message intent: Unsubscribe

Any help would be appreciated as we are blocked on our NServiceBus upgrade at this point. We actually are forced to upgrade all of our Pub/Sub pairs of endpoints.... Can we avoid doing that somehow ?

Thanks. Any help would be appreciated.

Upvotes: 1

Views: 254

Answers (1)

Indu Alagarsamy
Indu Alagarsamy

Reputation: 449

We were able to reproduce this and here's the related github issue: https://github.com/Particular/NServiceBus/issues/1910

The link above contains the details about the issue and the related fix. Please comment on the github issue if you have any questions or comments.

This has been fixed in 4.3.3 https://github.com/Particular/NServiceBus/releases/tag/4.3.3

Upvotes: 2

Related Questions