MSMQ Registry Settings (Windows CE 5.0)

Windows CE 5.0
Send Feedback

The registry stores information necessary to configure the system for applications and hardware devices. The registry also contains information that the OS continually references during operation.

Message Queuing (MSMQ) can be configured by setting registry information or by running the MSMQAdm utility.

Note   You must configure MSMQ after you set the computer name and current time.
The current time is used for generating the globally unique identifier (GUID). If the time is not set properly, more than one machine might be assigned the same GUID.
For this reason, configuration does not proceed during the first cold boot. Instead, the user is responsible for the configuration.
Note   The default registry values vary depending on which Catalog items are included in your OS design. For more information, see Default Registry Settings.

The persistent state of MSMQ is a combination of information in the MSMQ registry key and the MSMQ base directory. The base registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\SimpleClient.

The following named values are for the base-registry MSMQ 7 configuration parameters.

Value : typeDescription
AllowResponse : REG_SZDefault setting is "No."

If the value is "No", MSMQ sends the acknowledgment using the host name, such as www.adatum.com.

If the value is "Yes", MSMQ sends the acknowledgment using the IP address of the sender, such as 192.168.0.0.

Acknowledges the sender. MSMQ sends acknowledgements when the PROPID_M_ACKNOWLEDGE property is set.

BaseDir : REG_SZDefault setting is "\Temp\MSMQ."

Directory used for queue information and message storage.

BinaryEnabled : REG_SZDefault setting is "No."

You can set the value to "Yes" or "No."

If the value is "No", MSMQ receives incoming messages, but does not send outgoing messages.

If the value is "Yes", MSMQ supports the native MSMQ and the SOAP-based protocol.

Security Note   Setting the value to "No" minimizes the risk of exposure by allowing only specific types of messages.
For example, if MSMQ is used in a private network, you can set BinaryEnabled to "Yes" to support native MSMQ and SOAP-based protocols.
If MSMQ is used in the Internet, you can set BinaryEnabled to "No" and SrmpEnabled to "Yes" to support only SOAP-base protocol.
CEStartAtBoot : REG_DWORDDefault setting is 1. Windows CE-specific entry.

If this value is 0, MSMQ will not start at boot time but can be started using the MSMQAdm utility.

CETrackNetwork : REG_SZDefault setting is "Yes."

You can set the value to "Yes" or "No."

If the value is "Yes", MSMQ attempts to resend immediately after the network reconnects, instead of following the standard resend schedule.

DebugOutputChannels : REG_DWORDMask of the MSMQ debug output channels.
DebugOutputMask : REG_DWORDMask of the enabled debug zones.
DebugQueue : REG_SZQueue used to route debugging.
DefaultLocalQuota : REG_DWORDDefault value is 1024.

If this value is not present in the registry, the default incoming quota is 1024 kilobytes.

Incoming queue quota, in kilobytes.

DefaultQuotaDefault setting is 256.

If this value is not present in the registry, the default outgoing quota is 256 kilobytes.

Queue quota, in kilobytes, for message storage by a remote queue. The maximum default queue size and the size of output queues are expressed in kilobytes.

FSMaxTimeout : REG_DWORDTime-out, in seconds, for an installable file system.

If the MSMQ base directory is not found on startup, MSMQ waits for this period of time, rechecking every second before failing.

HostName : REG_SZDefault is not set in the registry.

Host name to override the machine's host name.

If this value is not present in the registry, information is queried dynamically from the network.

LanRetrySchedule : REG_DWORDDefault is not set in the registry.

If there are no network interfaces, the next attempt to connect is shifted by this value, in seconds, instead of the next-leg-of-connection schedule.

If 0, the existence of network interfaces is not checked and the connection schedule is followed.

LogSize : REG_DWORDSize of the MSMQ log file.
MachineQuota : REG_DWORDDefault setting is 2048.

If this value is not present in the registry, the default machine quota is 2048 kilobytes.

Machine queue quota, in kilobytes.

MessageID : REG_DWORDCurrent message identifier, accurate within 1,000 messages.

The MSMQ client sets this identifier for backup/restore purposes.

A user should not change it.

OrderAckScale : REG_DWORDDefault setting is 5.

Multiplier for transactional acknowledgement periods and time-outs.

OrderAckWindow : REG_DWORDNumber of packets sent per transactional queue until the transactional receipt arrives.

Changing this can cause severe repercussions.

OutFRSQueue : REG_SZOutgoing Falcon Routing Server (FRS) queue format name.

This name must be DIRECT.

If another name is used, you cannot configure the outgoing FRS queue.

PingPort : REG_DWORDDefault setting is 3527 by the registration utility.

Machine User Datagram Protocol (UDP) port that the MQPing service is monitoring. This ping port is set by the registration utility.

Do not change the ping port setting.

PingTimeout : REG_DWORDDefault is not set in the registry.

Time-out for response to MQPing.

If this value is 0, pinging is disabled and connections are attempted immediately.

Port : REG_DWORDDefault value is 1801.

Machine TCP/IP port that MSMQ is monitoring. This port is set to 1801 by the registration utility.

Do not change the port setting.

QueueManagerGUID : REG_BINARYDefault is not set in the registry.

GUID of the queue manager, which is used for session protocols between embedded and desktop implementations.

RetrySchedule : REG_BINARYArray of little-endian shorts, each containing a next-leg-of-connection schedule.
SrmpEnabled : REG_SZDefault setting is "No", which disables SRMP.

You can set the value to "Yes" or "No".

If this value is "Yes", MSMQ supports the SOAP-based protocol.

Security Note   Setting the value to "No" minimizes the risk of exposure by allowing only specific types of messages.
For example, if MSMQ is used in a private network, you can set BinaryEnabled to "Yes" to support native MSMQ and SOAP-based protocols.
If MSMQ is used in the Internet, you can set BinaryEnabled to "No" and SrmpEnabled to "Yes" to support only SOAP-base protocol.
UntrustedNetwork : REG_SZDefault setting is "Yes", which indicates that the current network is untrusted.

You can set the value to "Yes" or "No".

Disables message routing.

Security Note   This values allows you to selectively provide service to known networks, which minimizes security vulnerability.

The following registry entries provide resilience against dropped connections that can result from very slow wireless LANs.

ValueDescription
ConnectionTimeout : REG_DWORDTime-out, in seconds, for a connection to complete.
IdleTimeout : REG_DWORDTime interval, in seconds, before the connection closes because there is no incoming message.
MaxAckTimeout : REG_DWORDMaximum negotiated time-out, in seconds, for receiving acknowledgement for session-level messages.
MinAckTimeout : REG_DWORDMinimum negotiated time-out, in seconds, for receiving acknowledgement for session-level messages.
MinStoreAckTimeout : REG_DWORDMinimum negotiated time-out, in seconds, for receiving acknowledgement for session-level reliable messages before they are stored.

The base registry key for SRMP is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\SimpleClient\SRMP.

The following named value can be used for the base-registry SRMP configuration parameters.

ValueDescription
MaxPost : REG_DWORDDefault size is 131072 bytes.

Maximum size of the buffer, in bytes, that SrmpIsapi reads off the wire when processing SRMP messages over HTTP.

Messages over this size are rejected and a 413 – Request Entity Too Large is sent to the client.

See Also

Message Queuing | MSMQ Security | MSMQ Application Development


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show: