• Development and application of rabbitmq


    1. Introduction RabbitMQIt is a complete and reusable enterprise message system based on AMQP and written by Erlang. Support a variety of languages, including Java, python, ruby, PHP, C / C + + and so on. AMQP model AMQP: Advanced message queuing protocol, an application layer standard for unified messaging service, is an open standard […]

  • Rabbitmq publish subscribe mode to synchronize user data


    In the previous articles, we introduced how to publish a simple message through rabbitmq, then go to the work queue, multiple consumers consume, and finally go to the work queue distribution and message response mechanism (ACK); The modes we shared before are all deleted from the queue after being consumed. Ideally, they will not be […]

  • Springclub08 rabbitmq message middleware


    1、 VMware 1. Reset VMware virtual network VMware virtual network is unstable and often has problems. It can be repaired by resetting the network environment. When resetting, all virtual networks will be deleted and re createdOpen edit virtual network editor restore default settings. 2. Set NAT network segment Select VMnet8 and modify the lower left […]

  • Spring cloud10 spring boot integrates rabbitmq


    1、 Springboot integrates rabbitmq Six working modes were analyzed 1. New project 2. pom.xml <?xml version=”1.0″ encoding=”UTF-8″?> <project xmlns=”http://maven.apache.org/POM/4.0.0″ xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd”> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.2.4.RELEASE</version> <relativePath/> <!– lookup parent from repository –> </parent> <groupId>cn.tedu</groupId> <artifactId>rabbitmq-springboot</artifactId> <version>0.0.1-SNAPSHOT</version> <name>rabbitmq-springboot</name> <description>Demo project for Spring Boot</description> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> […]

  • Brief introduction of JavaScript switch statement


    This article mainly introduces the use of JavaScript switch statement. The example code is introduced in great detail, which has a certain reference learning value for your study or work. If you need a friend, you can refer to it The switch statement is used to perform different actions based on different conditions. Switch (expression){ […]

  • Rabbitmq Basics


    1、RabbitMQ What problems does message queuing solve Asynchronous processing Application decoupling Flow cutting front Log processing Running rabbitmq image # docker run –name rabbitmq -tid -p 5672:5672 -p 15672:15672 -p 25672:25672 rabbitmq Modify bbitraq settings #Docker exec – it container No. / bin / Bash New users # rabbitmqctl add_user [user_name] [pwd] View users # […]

  • Houlang: Data Center Design in mobile Internet Era


    preface With the rapid development of mobile Internet, the data center today is quite different from the data center 10 years ago. Both the machine scale and the traffic model of IDC have changed greatly. “Qianlang: network model of traditional data center” has introduced the basic requirements of data center network construction and the network […]

  • Rabbitmq is so simple to implement delayed messages that the entire plug-in is finished!


    Springboot practical e-commerce project Mall (35K + star) address: https://github.com/macrozheng/mall abstract There are two ways for rabbitmq to implement delayed messages. One is to use theDead letter queueImplementation, the other is the use ofDelay plug-inrealization.Dead letter queueWe have talked about the implementation before. For details, please refer to “mal integrating rabbitmq to implement delayed messages”. […]

  • (2) Introduction to rabbitmq exchange


    1. Basic concepts in AMQP messaging Broker:Rabbitmq server is the message broker for receiving and distributing messages.Virtual Host:Designed for multi tenant and security reasons, the basic components of AMQP are divided into a virtual group, similar to the concept of namespace in the network. When several different users use the services provided by the same […]

  • Using VBS to realize the script of registry switch


     Dim WSHShell,r,M,v,t,g,i On Error Resume Next Set WSHShell=WScript.CreateObject(“WScript.Shell”) v=”HKCU\Software\Microsoft\Windows\CurrentVersion\ Policies\System\DisableRegistryTools” i=”REG_DWORD” T = registry switchr=WSHShell.RegRead(v) g=1 If (r=1) Then g=0 If g=1 Then WSHShell.RegWrite v,1,i M = msgbox (“restrict registry editors?”, 4, t)Else WSHShell.RegDelete v M = msgbox (“remove registry editor restrictions?”, 4, t)End If

  • Analysis of data type principle of Java switch case


    This article mainly introduces the Java switch case data type principle analysis, the article through the example code introduction is very detailed, has the certain reference study value to everybody’s study or the work, needs the friend may refer to It is used to determine whether a value of a branch in a Java statement […]

  • Java switch multi value matching operation details


    This article mainly introduces the Java switch multi value matching operation details, the article introduces in detail through the example code, which has a certain reference learning value for everyone’s study or work, and friends in need can refer to it We all know that switch is used to take process branches, and in most […]