Practical test of deploying rabbitMQ image cluster

Deploying rabbitMQ image cluster Version information rabbit MQ: 3.8.5 Erlang: Official recommended minimum 21.3 recommended 22.x Here's 23 Environmental preparation Host planning host node 172.16.14.3 Disk node 172.16.14.4 Memory node 172.16.14.5 Disk node Memory node: The memory no ...

Posted by JayBachatero on Tue, 30 Jun 2020 03:06:29 +0200

Three exchange types of RabbitMQ

1, Direct type 1. Schematic overview As shown in the figure, in this mode, the producer sends messages to the switch in the broker (there can be multiple exchange switches in a broker, and one exchange can be bound to multiple queue queues). The switch distributes the messages to the queue correspondi ...

Posted by kankaro on Fri, 12 Jun 2020 05:58:55 +0200

How does Spring Boot transform old projects quickly?

Source: KL Bloghttp://www.kailing.pub/article/index/arcid/188.html 1. Preamble Fragments Blogger's company upgraded the entire module to spring boot because of limitations in the low version of spring when using certain features in development for a project. I want to make a note here to help friends with the same scene. The whole process is ...

Posted by alsal on Thu, 28 May 2020 04:59:04 +0200

Spring boot 2.3 integrates RabbitMQ to realize delayed consumption message

1. Source code access address Source code address at the end of the articlehttps://www.sunnyblog.top/detail.html?id=1265257400324063232 This chapter mainly realizes the delayed consumption of messages. Before learning the delayed consumption, we must first understand the two basic concepts of RabbitMQ, TTL and dead letter Exchange of messages, ...

Posted by Sh0t on Tue, 26 May 2020 15:43:03 +0200

How to produce a simple message using RabbitMQ

A recent scenario in business is that if a user has not paid for 30 minutes after placing an order in a store, the order needs to be disposed of, either deleted or marked as invalid. Why? 1. Inventory, the user will lock an inventory after placing an order. If the user does not pay, it will occupy the inventory and affect other users'purchase. ...

Posted by cuboidgraphix on Mon, 11 May 2020 04:11:56 +0200

SpringBoot+RabbitMQ learning notes RabbitMQ message persistence processing

I. Introduction   There is an autoDelete attribute in both @ Queue and @ Exchange annotations. The value is a string of boolean type. For example: autoDelete = "false". @Queue: whether to delete the queue automatically after all consumer clients are disconnected: true: delete, false: do not delete. @Exchange: automatically delete the ...

Posted by mslinuz on Wed, 29 Apr 2020 11:52:35 +0200

Spring boot integrates rabbitmq

Before integration, rabbitMqJAR package should be introduced in springboot. The version number can be customized for you. This project follows the version of springboot <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> ...

Posted by animedls on Wed, 22 Apr 2020 16:33:46 +0200

Priority and dead letter queue of RabbitMQ and. net core messages

1. Priority of message If there is a requirement now, we need to push some of the highest priority notifications to the client. We can use the sortedset of redis or the message priority attribute of rabbit we are going to talk about today Producer code using RabbitMQ.Client; using System; using System.Collections.Generic; using System. ...

Posted by andrew_ww on Sat, 18 Apr 2020 17:28:20 +0200

[SpringBoot MQ Series] Introduction to basic usage posture of RabbitListener

[MQ Series] Introduction to basic use posture of RabbitListener The message sending posture of rabbitmq was introduced before. Since there is sending, there must be consumers. In the spring boot environment, consumption is relatively simple. With @ RabbitListener annotation, you can basically meet more than 90% of your business development n ...

Posted by karnegyhall on Mon, 30 Mar 2020 15:05:00 +0200

PHP implementation of RabbitMQ message queue

First, install RabbitMQ corresponding to PHP. Here we use PHP ﹣ AMQP to implement different extension methods with slight differences php extension address: http://pecl.php.net/package/amqp The details are subject to the official website http://www.rabbitmq.com/getstarted.html introduce config.php configuration information BaseMQ.php MQ base ...

Posted by poseidix on Tue, 17 Mar 2020 16:17:27 +0100