我想创建一个在Raspberry Pi 2上运行的应用程序,并使用MSMQ发送带有一些收集数据的消息。我在Raspberry Pi上安装了Windows 10。
我已经使用MS Visual Studio 2015为此创建了一个测试项目(Windows Universal类型)。此外,由于Raspberry架构的原因,我无法使用大量引用(例如System.Messaging)。我明白了。
甚至可以在Raspberry Pi 2上使用MSMQ吗?或者请帮我找一下MSMQ的任何类似物来发送来自Raspberry Pi的消息。
提前谢谢!
答案 0 :(得分:0)
Windows 10 IoT Core适用于物联网方案,这意味着您最终必须连接到云。这里最好的方法是使用服务总线队列将Raspberry Pi 2上的Windows 10 Universal App连接到Azure。这篇MSDN mag文章解释了这种方法:https://msdn.microsoft.com/en-us/magazine/dn574801.aspx。
在实施方面,Azure的Service Bus文档位于http://azure.microsoft.com/en-us/documentation/services/service-bus/。队列包含在https://azure.microsoft.com/en-us/documentation/articles/service-bus-dotnet-how-to-use-queues/。您可以在Pi上使用Azure SDK。
我希望这会有所帮助。