I. Introduction of the Course
If you've heard from work and haven't been exposed to the message queue (MQ), if you've been exposed to a bit of knowledge about MQ, if it's not so much ..., then stupid will pass this "C # Message Queuing 0 Basics from the start to the actual combat walkthrough" Sharing lessons gives you a substantial understanding and understanding of Message Queuing to achieve practical flexibility and use. In this sharing session, you will learn the following points of knowledge:
1. The basic usage skills of Microsoft MSMQ and the application of MSMQ in WCF technology.
2. The introduction and use of two consumption modes (production consumption and publish subscription) for enterprise-class RABBITMQ Message Queuing.
3, how to realize RABBITMQ client (clients) multi-line connection multiplexing.
4, RABBITMQ server high-availability cluster building.
5, RABBITMQ Project REAL-time Walkthrough: In the Course of actual combat chapter a stupid will lead you to use the RABBITMQ message queue to carry out an application scenario of the project to share the "based on open source RABBITMQ message middleware implementation of client-side system log monitoring."
If you are interested in this sharing lesson, please allow stupid to lead you to study together.
Needless to say, directly on dry goods, we do not produce dry goods, we are just dry goods porter.
Message Queuing
V. Introduction and installation of Message Queuing MQ
5.1. What is Microsoft MSMQ?
The MSMQ full name is Microsoft message queue--Microsoft Messages queue. It is an asynchronous transfer mode that enables communication between different applications, which can be distributed on the same machine or in any location in the connected network space. MSMQ makes communication between applications faster and more reliable by sending and receiving messages.
5.2. A fool to teach you to install Microsoft MSMQ
For detailed installation files please refer to: Microsoft MSMQ installation steps for Windows system instructions. pdf
5.3. What is RABBITMQ?
RabbitMQ is an open source implementation of the AMQP (Advanced Message Queue Protocol) developed by Erlang. It is a popular message broker that is typically used to integrate messages between applications or between different components of a program.
5.4, a fool to teach you to install enterprise-class RABBITMQ
For detailed installation files, please refer to: RABBITMQ in the Windows system installation steps instructions. pdf
VI. RABBITMQ Message Queuing Cluster Server build process Demo
Cluster cluster
Seven, the RABBITMQ application scene log processing actual combat demonstration
2, RABBITMQ Message Queuing, responsible for the receipt, storage and forwarding of log data.
3, Log processing app: Subscribe to and consume log data from the RABBITMQ queue.
7.1, RABBITMQ client Multi-connection multiplexing (using AMQP Group to dynamically link)
Since RABBITMQ is an implementation of the AMQP protocol, it is possible to connect in the same way as the AMQP protocol when making a remote connection.
var amqplist = new List
{
New Amqptcpendpoint (New Uri ("amqp://192.168.0.105:5672")),
New Amqptcpendpoint (New Uri ("amqp://192.168.0.107:5672"))
};
Eight, the source online interpretation and demonstration
Watch Online
If you don't believe it, sweep it.
C # Message Queuing (MQ) 0 basics from Getting started to practical walkthrough