Let's do the message queue!

Source: Internet
Author: User

Let's do the message queue!

-- An Introduction In MSMQ

By sebastianweber

 

Theserverside.net The previous article introduces Message Queue ( MSMQ ).Article( English version ). It is recommended.

 

This article introduces MSMQ Basic Programming (such as storing and receiving messages) and basic management functions (such as creating and deleting queues ). Although . Net API It is very convenient and simple, but in practice MSMQ In the project, you need to understand the concept of message queue as the architecture. Use MSMQ The system is more loosely coupled and therefore more autonomous ( Autonomous ). Note that a message is only a message, not an internal business object. Therefore, in the design of new distributed applicationsProgramWe recommend that you follow the Service-Oriented Architecture ( Service-Oriented Architecture ): By explicitly defining boundaries and creating autonomous services MSMQ To take charge of the Interaction part.

 

This article includes the following content:

1. MSMQDevelopment and features

2.Simple ExampleMSMQEncodingC #

3. MSMQManagement, such as creating or detecting message queues, deleting messages from queues, deleting message queues, and setting access permissions for message queues.

4.Send message and message object attributes

5. Dead Message Queue ( Dead letter queue ), Management Queue ( Administration queue ) And response type ( Acknowledge types )

6.Receive messages

7.Use transaction message queue

8. MSMQ 3.0

Although WINXP/Windows 2003 Supported MSMQ 3.0 , And MSMQ 3.0 Includes some new features, such HTTP Send messages and support message distribution lists, but currently . NET Framework 1.1 These new features are not yet supported, . NET Framework 2.0 These new features are supported.

 

Source URL:

Http://theserverside.net/articles/showarticle.tss? Id = letsdomessagequeue

Posted by sebastianweber

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.