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?
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 and 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
detailed installation file Please refer to: RABBITMQ in Win dows System Installation step description. PDF
VI. RABBITMQ Message Queuing Cluster Server build process Demo
Cluster cluster
Seven, the RABBITMQ application scene log processing actual combat demonstration
Stupid this sharing class will lead you to use RABBITMQ Message Queuing products for project combat, based on open source RABBITMQ messages in the middle of the client system log real-time monitoring processing. The following core steps are implemented:
1, log Acquisition client, responsible for log data collection, timed write by write RABBITMQ queue.
2, RABBITMQ Message Queue, responsible for the log data reception, storage and forwarding.
3. Log processing application: Subscribe and consume the log data in 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