This is the start of a series on common problems, and solutions, when working with MassTransit ESB. This post is on version 2.7.4.

You see the following warning with a simple MSMQ example program, 'MassTransit.SubscriptionClientConfiguratorExtensions.UseSubscriptionService(MassTransit.BusConfigurators.ServiceBusConfigurator, string)' is obsolete: 'The extension method on UseMsmq should be used instead'

To reduce confusion, the MSMQ related items have been moved into a configuration delegate inside UseMsmq(). Additionally, the namespace on UseSubscriptionService() was not correct for a time, you might need to add an import. This is corrected in later versions.


Travis Smith

Polyglot software craftsman. Knowledge disseminator. Awesome maker.