.Net 中的 JMS 等效项

发布于 2024-08-07 19:54:02 字数 378 浏览 3 评论 0原文

我正在尝试在我们公司的消息传递基础设施上建立一个通用的抽象接口。设计目标是2倍。 1 是向开发人员隐藏编程的复杂性(我知道它不是很复杂,但仍然进一步简化),2 是使开发人员独立于供应商特定的消息传递基础设施(即它可以是 MQSeries 或 EMS 或 MSMQ)。

最常见的选择是在消息传递基础结构上使用 WCF 层。使用 WCF 的 MQSeries 自定义通道或 WCF 的 EMS 自定义通道。但由于缺乏合适的 MQSeries 和 EMS 版本,两者均被排除。

有人可以建议这个问题的可能解决方案是什么吗?我可以想到有一个像 JMS 这样的自定义包装器。以前有没有人尝试过类似的事情。任何帮助都会很棒。

顺便说一句,我正在尝试在 C# 3.5 中创建这个包装器。

问候

I am trying to make an common abstract interface over the messaging infrastructure in our company. The design goal is to 2 fold. 1 is to hide the complexity of programming from the developers (i know its not very complex but still simplify it further) and 2 is to make the developers independent of the vendor specific messaging infrastructure (i.e. it can be MQSeries or EMS or MSMQ).

The very common option is using the WCF layer over the messaging infrastructure. Use the MQSeries Custom channel for WCF or use EMS custom channle for WCF. But both are ruled out due to lack of proper version of MQSeries and EMS.

Can someone please suggest what are the possible solutions to this problem. One which i can think of the to have a custom wrapper like JMS. Has anyone ever tried something similar before. Any help would be fantastic.

by the way, i am trying to create this wrapper in C# 3.5.

Regards

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

决绝 2024-08-14 19:54:03

IBM 为 WebSphere MQ 提供了 XMS 库。它们是与 WebSphere MQ 配合使用的 JMS 协议的 .NET 实现。

这些以 SupportPac IA9H 形式提供,可免费下载。

IBM provides the XMS libraries for WebSphere MQ. They are a .NET implementation of the JMS protocol that works with WebSphere MQ.

These are delivered as SupportPac IA9H which is a free download.

沉溺在你眼里的海 2024-08-14 19:54:02

NMS,它是 JMS 协议的 .NET 实现。它附带了一个与 ActiveMQ 一起工作的提供程序作为底层消息代理。

也许还值得查看一些优秀的 .NET 开源服务总线实现,它们提供了更多有用的消息传递抽象:NServiceBus 大众运输Rhino 服务总线

There's NMS, which is a .NET implementation of the JMS protocol. It comes with a provider which works with ActiveMQ as the underlying message broker.

It might also be worth checking out some of the excellent open source Service Bus implementations for .NET which provide further useful messaging abstractions: NServiceBus, MassTransit and Rhino Service Bus come to mind.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文