Message Queuing Administrative Tools C# Help

Before looking at how to deal with Message Queuing programmatically, this section looks at the . administrative tools that are part of the Windows operating system to create and manage queues and messages. The tools shown here are not used only with Message Queuing. The Message Queuing features of these tools are available only if Message Queuing is installed.

Creating Message Queues

Message queues can be created with the Computer Management MMC snap-in. On a Windows Vista system, you can start the Computer Management MMC snap-in with the Start q Control Panel q Administrative Tool sq Computer Management menu. In the tree view pane, Message Queuing is located below the Services and Applications entry. By selecting Private Queues or Public Queues, new queues can be created from the Action menu (see Figure 45-5). Public queues are available only if Message Queuing is configured in Active Directory mode.

Figure 45-5

Figure 45-5

Message Queue Properties

After a queue is created, you can modify the queue’s properties with the Computer Management snap-in by selecting the queue in the tree pane and selecting the Action Q Properties menu (see Figure 45-6)

Figure 45-6

Figure 45-6

Several options can be configured:

  1. The label is the name of the queue that Can be used to search for the queue.
  2. The type ID, which is, by default, set to map multiple queues to a single category or type. Report queues use a specific type ID, as discussed earlier. A type ID is a universal unique ID (UUlD) or GUID.
  3. Custom type identifiers can be created with the uuidgen.exe or guidgen. exe utilities. uuidgen. exe is a command-line utility used to create unique IDs, and guidgen. exe is a graphical version to create UUIDs.
  4. The maximum size of all messages of a queue can be limited to not fill up the disk.
  5. When checked, the Authenticated option allows only authenticated users to write and read messages to and from the queue.
  6. With the Privacy Level option, the content of the message can be encrypted. The possible values set are None, Optional, or Body. None means that no encrypted messages are accepted, Body accepts only encrypted messages, and the default Optional value accepts both.
  7. Target journaling can be configured with the Journal settings. With this option, copies of the messages received are stored in the journal. The maximum size of disk space that is occupied can be configured for the journal messages of a queue. When the maximum size is reached, target journaling is ceased.
  8. With the configuration option Multicast, you can define a multicast IP address for the queue. The same multicast IP address can be used with different nodes in the network, so that a message sent to a single address is received with multiple queues.

Posted on October 31, 2015 in Message Queuing

Share the Story

Back to Top
Share This