MSMQ Samples (Windows CE 5.0)
Message Queuing includes a number of samples that demonstrate MSMQ administration and use.
All of the following samples are located in the %_WINCEROOT%\Public\Servers\SDK\Samples\Msmq directory.
CLI
This utility allows a user to execute MSMQ APIs from the command line. Type 'h' at the command prompt to get a summary of available commands.
VISADM
This is GUI front-end for the command-line MSMQAdm utility. For more information about this utility, see Administration.
CETCHA and ETCHASVR
These utilities let a user test MSMQ installation visually.
They implement a distributed drawing board that can be shared by two computers. To run, compile CETCHA for the Desktop and for the CE device and run it on both computers.
Select OK in response to the first dialog box.
When the drawing surface appears, select Queue from the File menu and put the name of the other computer on each device.
After that, when you draw in CETCHA on one computer, the picture is transferred through MSMQ to the other.
Control-Click clears the screen.
You can make one CETCHA instance a server, meaning it will echo the reflected picture back to the computer on which the user is drawing, by selecting Server from the File menu.
MSMQAdm
This command-line utility performs MSMQ administration tasks. For more information about this utility, see Using the MSMQAdm Utility.
XML
This utility automatically performs simple MSMQ operations based on commands and parameters specified in an XML file. It demonstrates use of both the MSMQ API and MSXML SAX capabilities.
Message Queuing also includes a single utility in the %_WINCEROOT%\Public\Servers\SDK\Samples\Http\Msmqextn directory.
MSMQExtn
This utility provides a web-based interface for MSMQ administration. For more information about this MSMQExtn, see Using the MSMQAdm Utility.
See Also
Send Feedback on this topic to the authors