简体   繁体   English

如何使用WCF在WSO2 Message Broker上执行发布/订阅

[英]How to do Pub/Sub on WSO2 Message Broker with WCF

There seems to be very little information on interacting with the WSO2 products from WCF or .Net in general. 通常,与WCF或.Net的WSO2产品进行交互的信息很少。 I am attempting to subscribe to a Topic which is defined in the WSO2 Message Broker, but I have no idea where to start. 我正在尝试订阅WSO2消息代理中定义的主题,但是我不知道从哪里开始。 Eventually, I'd like to publish events from a C# application, but again, I could use some help finding a starting point. 最终,我想从C#应用程序中发布事件,但是再次,我可以使用一些帮助来寻找起点。

I've successfully coded something up using the RabbitMQ .net libraries, but only for reading/writing to a queue, not a topic. 我已经使用RabbitMQ .net库成功地编写了一些代码,但是仅用于读取/写入队列,而不是主题。 Thanks in advance for any help. 在此先感谢您的帮助。

I think you can do this using WS-Eventing API by writing a C# client. 我认为您可以通过编写C#客户端使用WS-Eventing API来完成此操作。 You can refer the section on WS-Eventing in this article. 你可以参考在WS事件的部分文章。 Unfortunately, the example code is in Java. 不幸的是,示例代码使用Java。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM