MSMQ Programming Model (Windows CE 5.0)

Send Feedback

Embedded devices operate in a wide variety of scenarios, ranging from stationary devices that are continuously connected, to Windows Mobile–based devices that are usually disconnected even on startup.

Frequently the sending device and the receiving device run at different times. The one requirement shared by virtually all devices is the need for efficiency and a small memory footprint.

The embedded implementation of MSMQ provides the essential functionality of the desktop version of MSMQ, optimized to minimize space requirements. It is also designed to support a small number of simultaneous connections with short code paths.

The following optimizations are also included in the embedded implementation:

  • Peer-to-peer, application-to-application messaging that does not require a separate server or domain controller.
  • Computer names, rather than Internet Protocol (IP) addresses, are used internally to support roaming.
  • NIC tracking allows the service to restart immediately after reconnection.
  • Transparent, salvageable and configurable storage enhances efficiency and reliability.
  • Routing for queues is simple to configure and use but provides powerful functionality.
  • A small footprint (90–190K)

The embedded message queuing service does not support the following functionality:

  • Remote Queue Read
  • Encryption
  • Security based on an access-control list (ACL)
  • MQMail
  • Dependent client functionality

Transaction support is also limited to a single message transaction.

Queuing Scenarios

Here are some of the ways you can use message queuing on embedded devices:

  • An intermittently connected device A sends a message to another intermittently connected device B by means of a Windows NT routing server C. Messages are sent from A to B through an outgoing queue that points to C. When A connects to C, messages are moved to C and are held until B connects to C, after which they are delivered to B.
  • A device runs on a subnet that is protected by a firewall from a destination computer. A routing server bridges the firewall and delivers messages to a remote computer.

See Also

MSMQ Application Development | Summary of Supported MSMQ Functions | Application Installation of MSMQ | Administration | MSMQ COM Support | Internet Messaging | MSMQ Security | MSMQ Samples

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.