开发者

NServicebus ISubscriptionStorage

开发者 https://www.devze.com 2022-12-21 22:25 出处:网络
I have created my own custom subscription store for NServiceBus via my own ISubscriptionStorage class but I cannot find how to implement it and cannot see any documentation on how to do so. I开发者_Py

I have created my own custom subscription store for NServiceBus via my own ISubscriptionStorage class but I cannot find how to implement it and cannot see any documentation on how to do so. I开发者_Python百科s there anyone out there who can give me a hand?


You need to register your class in the container, and make sure NOT to use AsA_Publisher with the built-in profiles, also don't use MsmqSubscriptionStorage or DbSubscriptionStorage.

In order to register your class in the container do:

NServiceBus.Configure.Instance.Configurer.ConfigureComponent<YourSubscriptionStorage>(ComponentCallModelEnum.Singleton);

0

精彩评论

暂无评论...
验证码 换一张
取 消