在 asp.net 站点上使用 ActiveMQ 的示例
Example of using ActiveMQ on asp.net site
我正在尝试在 asp.net (C#) 网站上查找如何使用 Apache ActiveMQ 的示例。据我所知,您必须使用 REST 网络服务,但由于我是 ActiveMQ 和 REST 网络服务方面的新手,我真的可以使用一个示例来说明如何操作。
我需要做的是在代理上设置一个队列,并创建一个可以使用代理队列进行通信的消息生产者和消费者。
我在互联网上搜索了很长时间,但我只能找到有关如何使用命令行命令或 WinForms 执行此操作的示例。
有人 link 在 asp.net 网站上使用 ActiveMQ 的完整示例吗?
提前致谢。
您不必使用 REST。
这是如何使用 tcp 和 NMS(ActiveMQ 的 .NET 客户端)进行操作的示例。
不要复制粘贴这里可用的代码我给你直接链接到代码,不要犹豫
http://activemq.apache.org/nms/examples.html
http://activemq.apache.org/nms/nms-simple-asynchronous-consumer-example.html
完整示例https://code.msdn.microsoft.com/windowsapps/ActiveMQ-in-NET-Sample-9406441a
http://www.wi1.uni-muenster.de/pi/lehre/ss11/EAI/tutorials/tutorial_jms_net.html
https://remark.wordpress.com/articles/messaging-with-net-and-activemq/
我正在尝试在 asp.net (C#) 网站上查找如何使用 Apache ActiveMQ 的示例。据我所知,您必须使用 REST 网络服务,但由于我是 ActiveMQ 和 REST 网络服务方面的新手,我真的可以使用一个示例来说明如何操作。
我需要做的是在代理上设置一个队列,并创建一个可以使用代理队列进行通信的消息生产者和消费者。
我在互联网上搜索了很长时间,但我只能找到有关如何使用命令行命令或 WinForms 执行此操作的示例。
有人 link 在 asp.net 网站上使用 ActiveMQ 的完整示例吗?
提前致谢。
您不必使用 REST。 这是如何使用 tcp 和 NMS(ActiveMQ 的 .NET 客户端)进行操作的示例。 不要复制粘贴这里可用的代码我给你直接链接到代码,不要犹豫
http://activemq.apache.org/nms/examples.html
http://activemq.apache.org/nms/nms-simple-asynchronous-consumer-example.html
完整示例https://code.msdn.microsoft.com/windowsapps/ActiveMQ-in-NET-Sample-9406441a
http://www.wi1.uni-muenster.de/pi/lehre/ss11/EAI/tutorials/tutorial_jms_net.html https://remark.wordpress.com/articles/messaging-with-net-and-activemq/