This document mainly takes C# as an example to demonstrate how to create a test project for developers who are new to OneNET MQ.
Download and extract demo project After that, you should be able to find that an MQDemo-CSharp-src folder has been added locally.
Open MQDemo-CSharp-src folder and use Visual Studio to open MQDemo-CSharp.sln
Compile the project (Ctrl+Shift+B)
Run the project (Ctrl+F5)
step1:Message production is shown in theMessage Production Guide.Please forward messages to MQ topics.
step2:In terms of consumption of messages by clients, please indicate instance name, topic, subscribe to and access-key (pay attention to the consistency with incoming topic-related parameters with message production). After clicking Connect, “successful connection” will be displayed in a prompt dialog box.
If there has been a message produced into the topic corresponding to MQ, the Demo client will display the consumed message.