NServiceBus 2.0 在 Mono 上运行并部署到 *nix 时的注意事项
NServiceBus 与 Mono 兼容吗? 您是否在 Mono 上运行 NServiceBus? 如果是这样,您遇到了什么问题?
NServiceBus 默认情况下利用 MSMQ。我知道这可以换成不同的传输技术,所以我想最初的任务可能涉及实现 NServiceBus 库提供的“IMessageQueue”接口(或类似的东西),该库利用交叉平台或 Unix 特定的消息队列/传输技术。
Is NServiceBus compatible with Mono?
Are you / have you run NServiceBus on Mono?
If so what issues did you run into?
NServiceBus leverage's MSMQ by default. I know this can be swapped out for different transport technologies, so I would imagine an initial task may involve implementing a provided "IMessageQueue " interface (or something along those lines) from the NServiceBus library that leverage's a cross platform or Unix Specific message queue / transport technology.
Related Question:
"How to swap out MSMQ in NServiceBus 2.0 for a different transport technology"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Jacob Lewallen 已经使用 RabbitMQ 在 Mono 下完成了 NServiceBus 的工作(我认为)——你可以通过 twitter @jlewallen 联系他。
Jacob Lewallen has done work on NServiceBus under Mono using RabbitMQ (I think) - you can contact him via twitter at @jlewallen.
我还没有用 Mono 做过任何实际的编码,但我最近一直在思考消息队列/Mono 相关的东西。
Mono 似乎在底层使用 RabbitMQ 实现了 System.Messaging(Mono/System.Messaging)。消息传递),所以我猜针对“普通”API 编写的代码应该可以工作。
不过,实现有一些限制,所以我想这取决于 NServiceBus 是否使用 MSMQ 的那些功能,而 Mono-folks 由于 MSMQ 的 API 不够通用而无法实现这些功能。
您尝试过吗?您采取了什么方法?遇到任何问题吗?
I haven't done any actual coding with Mono, but I've been pondering message queue / mono related stuff myself lately.
Mono seems to implement
System.Messaging
using RabbitMQ under the hood (Mono/System.Messaging), so I guess code that's written against the "normal" API should work.There are some limitations to the implementation though, so I guess it depends on does NServiceBus use those features of MSMQ which Mono-folks weren't able to implement due to MSMQ's API not being generic enough.
Did you try this out, what approach did you take and did you run into any problems with it?