Spring cloud Chapter 7: Message Bus
Spring Cloud Bus connects distributed nodes with lightweight message brokers. It can be used for broadcast profile changes or communication between services, or for monitoring. This article is about the implementation of Spring Cloud Bus to notify the change of configuration file of microservice architecture.
1, Preparations
This article is ...
Posted by imartin on Thu, 02 Apr 2020 01:50:28 -0700
docker+springboot+rabbitmq to implement dead letter queue
1. Download and start rabbitmq
docker pull hub.c.163.com/library/rabbitmq:3-management
docker run -d -p 5672:5672 -p 15672:15672 --name mymq hub.c.163.com/library/rabbitmq:3-management
#web access path ip:15672
#User name: guest password: Guest
2. Introduce dependency into the project of springboot
<dependency>
< ...
Posted by Wolverine68 on Sat, 28 Mar 2020 07:31:46 -0700
rabbitmq Series Dead Letter Queue
1. What is the Dead Letter Queue
When a message becomes a dead letter in one queue, it is re publish ed to another switch, which is called a dead letter switch. A private switch delivers a dead letter to a queue, which is a dead letter queue.The principle is as follows:
There are three situations when a message becomes dead letter:
Message re ...
Posted by uluru75 on Sun, 22 Mar 2020 18:58:17 -0700
Using RabbitMQ in Java
rely on
<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>5.8.0</version>
</dependency>
production public class Producer { private final static String QUEUE_NAME = "my_queue"; //Queue name
...
Posted by walexman on Tue, 17 Mar 2020 07:11:04 -0700
The construction of simple mail server
Business background
Send an entry welcome email to an employee when they are added
Preparation
Take QQ email as an example
Log in QQ email and select settings and accounts
Find the POP3/SMTP service in the account settings
Click the "open" button, send SMS according to the guidance step ...
Posted by meow on Thu, 12 Mar 2020 05:16:01 -0700
Spring boot integrates RabbitMQ: Routing
In this article, we'll implement another function - to subscribe to only a few messages. For example, we only need to write the serious error log information to the log file (stored on disk), but still output all the log information to the console
Binding
In the previous example, we have created the bin ...
Posted by user___ on Thu, 05 Mar 2020 19:17:15 -0800
Spring Cloud Config program example
Catalog
Spring Cloud Config server example
Spring Cloud Config client example
Spring Cloud Config user authentication
Configure information encryption
Symmetric encryption
Asymmetric encryption
Configuration refresh
Manual refresh
auto refresh
Spring Cloud Config client sends update notific ...
Posted by ffdave77 on Wed, 04 Mar 2020 19:39:44 -0800
RabbitMQ message mode II
Blog content
Portal
Current restriction at the consumer end
ACK and return queue of messages
TTL message
Dead letter queue
Portal
Getting started with RabbitMQRabbitMQ message mode 1
Current restriction at the consumer end
What is the current restriction of the consumer end?
Suppose a scenario ...
Posted by silentweed on Tue, 03 Mar 2020 20:53:24 -0800
Docker - building rabbitmq cluster
Article directory
Docker - building rabbitmq cluster
1. First, pull the image of rabbitmq
2. Then run three instances of rabbitmq
3. Then we build the cluster and synchronize the time zone
4. How to delete a container
5. Open the firewall or port controller for port release and check the operation s ...
Posted by gabe33 on Thu, 27 Feb 2020 01:17:07 -0800
Rabbitmq introduction and deployment cluster
Blog Outline:1, MQ introduction2, What is RabbitMQ?3, Installing RabbitMQ4, Deploy Rabbitmq cluster1) Deployment environment2) Install rabbitmq service3) Configure the host file and add the above two nodes to the cluster4) rabbitmq01 configure the cluster and add rabbitmq02 and 03 to the 01 cluster5) Accessing the web interface6) Add vhost to ...
Posted by brij_theinvader on Tue, 25 Feb 2020 22:24:35 -0800