Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

There are several types of WCF message queues

2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces several types of WCF message queue, the article is very detailed, has a certain reference value, interested friends must read it!

WCF after a long period of development, many users are very familiar with WCF, here I would like to publish a personal understanding, and discuss with you. WCF message queue Message is the information that needs to be transmitted by both sides of the communication. It can be a variety of media, such as text, sound, image, and so on. The final understanding of the message, agreed in advance for both parties of the message, has the advantage that, on the one hand, it is equivalent to a simple encryption of the data, and on the other hand, using a self-defined format can save the amount of communication. The message can contain the identity of the sender and receiver, and only the specified user can see the receipt. The timestamp makes it easy for the receiver to deal with some time-related applications. Deadline, if the message has not arrived within the specified time, it will be invalidated.

The main types of WCF message queues include the following:

Public queues are replicated throughout the message queuing network and can be accessed by all sites connected to the network.

Private queues are not published throughout the network. Instead, they are available only on the local computer where they reside. Private queues can only be accessed by applications that know the full pathname or label of the queue.

The Administrative queue contains messages that confirm the receipt of messages sent in a given message queuing network. Specify the administrative queue, if any, that you want the MessageQueue component to use.

The response queue contains a response message returned to the sending application when the target application receives the message. Specify the response queue, if any, that you want the MessageQueue component to use.

WCF message queuing Queue is a public storage space for sending and receiving messages, which can exist in memory or in physical files. Messages can be sent in two ways, namely, express delivery (express) and recoverable mode (recoverable). The difference between them is that the express mode is placed in memory for the message, and the recoverable mode is placed on the physical disk (see MSDN for details). After learning the basic concepts related to message queuing MSMQ, we know its advantages: stability, message priority, offline capabilities, and security, guaranteed message delivery, and reliable failure prevention mechanisms that perform many business processes. Disadvantages: MSMQ is not suitable for Client situations that require real-time interaction on the Server side. When there are a large number of requests, the response is delayed.

Message queuing is also one of the ways to implement SOA object-oriented architecture. Now let's look at simple MSMQ programming. In order to develop MSMQ on the. Net platform, we need to configure the development environment and install the message queue. The specific installation process can be baidu, directly look for the installation windows components in the installation CD, and select the message queue installation.

The above is all the content of the article "there are several types of WCF message queues". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report