将 NService Bus 从 1.9 更新到 2.0?
我目前在我的一个项目中实现了 NService 1.9。我想将项目从 NServicebus 1.9 更新到 NServiceBus 2.0。
我需要做任何重大更改吗?或者只更改配置就可以了?
任何人都可以帮忙解决这个问题,为我提供包含此信息的任何链接吗?
nRk
I currently implemented NService 1.9 in one of my project. I want to update the project from NServicebus 1.9 to NServiceBus 2.0.
Will there be any major changes that I need to do.. or Only configuration changes are fine?
Can anybody help on this, provide me any links containing about this information?
nRk
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们必须处理的主要问题是转向通用主机。您可以继续自行托管 NSB,但 GH 带来了一些不错的东西,例如配置文件的概念。这是一个非常简单的升级,您可以放弃自定义主机。我们注意到的另一个变化是伐木区。有两个地方可以处理这个配置,一部分是在配置文件中,一部分是通过代码。除此之外,没有太多需要改变的地方,因为这些人在向后兼容方面做得很好。
The major thing that we had to deal with is moving to the Generic Host. You can stick with hosting NSB on your own, but the GH brings some nice things like the concept of Profiles. This was a really simple upgrade and you can ditch your custom host. The other change we noticed was in the logging area. There are two places to handle configuration of this, part of it is in the config file and part of it is via code. Other than that, there wasn't much to change as the guys did a good job of backwards compat.