다음을 통해 공유


Will Code For Device - Winner

Will Code For Device – Winner
Ehsan Masud 

MSMQ Monitor Pocket PC Application:

Vision:

The application works as a monitor for MSMQ Message Queuing Server. The application connects to MSMQ Message Queuing Server through web service. The application shows all the messages in a given queue in a server. This application is very use full for monitoring production MSMQ.

Architecture/Components:

The application has the following component:

MSMQMonitorCF:

Pocked PC windows application.

MSMQMonitorWebService:

Web service for accessing MSMQ Message Queuing Server. For simplicity this will access private message queues of the local machine.

MSMQMonitorBCL:

Business Components for accessing MSMQ Message Queuing Server. Monitor web service uses this.

How to Run the application:

  1. Decompress MSMQMonitor.zip
  2. Create virtual directory for MSMQMonitorWebService and you will need to enter the URL into Pocket PC application. Do not use localhost in the URL, use IP address instead.
  3. CompileMSMQMonitorBCLand copyMSMQMonitorBCL.dllin bin subdirectory for the web service.
  4. Create a MSMQ private queue in the machine you installed the web service. You will need to enter the name of the queue in Pocket PC application.
  5. Enter some test messages in the message queue. User MSMQMessageInserter application to insert message if you do not have any other way of inserting messages in MSMQ.
  6. Compile and deploy the MSMQMonitorCF application.

Screen Shots:

1. MSMQMonitorCF:

*Enter MSMQ Monitor Web Service URL and MSMQ Queue name. The application will get a snapshot of messages in the server (and is not going to receive or remove any message from the server i.e. without affecting the production system)

* Display snap shot of messages in a queue (collected from web service)

* Show detail message for selected message.

* Insert Test Message:

* Messages in MMC:

Show Me The Code