Basic concept of RabbitMQ and simple demonstration of binding strategy

First of all, let's understand two nouns JMS Java Message Service, a set of message service standards defined by Java, conforms to JMS standard specifications, and is a general Java Message Service MOM Message Oriented Middleware is a middleware product that conforms to message development standard ...

Posted on Sun, 21 Jun 2020 03:46:55 -0400 by hastishah

Spring security uses RAS encryption to request plaintext encryption for login account password

1: Scene When a user logs in, as long as anyone who has a little basic knowledge of browsing the web page knows that opening the browser console can get the header information of the post request in the request grabbing block, and our user's login account password is just saved here. If no encryption ...

Posted on Sun, 21 Jun 2020 02:55:49 -0400 by D3xt3r

UnavailableSecurityManagerException in Spring Boot integration shiro

Spring boot uses spring security by default. Spring security is a powerful security framework, needless to say. However, if you are used to shiro, you will not use spring security for a while, so you need to integrate shiro in spring boot. When it comes to integrating shiro, there are many online tutorials, but online tutorials are not necessar ...

Posted on Sun, 21 Jun 2020 02:28:31 -0400 by jollyjumper

[emergency shelter] mybatis can use XML and annotation at the same time

[emergency shelter] mybatis can use XML and annotation at the same time Put the conclusion first How do you use it? Mode 1 Mode 2: Mode 3: be careful: Cause analysis Reason for the establishment of mode 1 Limitations of mode 2 Reasons for the establishment of mode 3 be careful Put the conclu ...

Posted on Sun, 21 Jun 2020 02:13:16 -0400 by KashKurcura

Using SpringCloud Stream and rabbitMQ to implement message consumption failure retransmission mechanism

In the actual project, the message consumption often fails, so it is necessary to resend the message. For example, after the failure of payment message consumption, N times of message retransmission reminder should be performed in different time periods. This paper simulates the scene Message consumption succeeds when the amount is less than ...

Posted on Sun, 21 Jun 2020 00:29:09 -0400 by garfield213

Spring Boot's "hello world" program

Environmental Science Operating system: Ubuntu 20.04 Development tool: IntelliJ IDEA 2020.1.2 (Community Edition) JDK: ➜ ~ java -version openjdk version "14.0.1" 2020-04-14 OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1) OpenJDK 64-Bit Server VM (build 14.0.1+7-Ubuntu-1ubuntu1, mixed ...

Posted on Sat, 20 Jun 2020 23:58:02 -0400 by keegan

Getting started with Spring Cloud components -- Security

brief introduction Spring Cloud Security provides a series of solutions for building secure spring boot applications. Combining with Oauth2, it can realize functions such as single sign on, token relay and token exchange. OAuth 2.0 is an industry standard protocol for authorization. OAuth 2.0 provides ...

Posted on Sat, 20 Jun 2020 23:53:27 -0400 by harinath

Spring Boot multi module development and pit drainage guide none in history

Recommended reading: How to improve the core competitiveness of Java engineers who have worked for 1-5 years                   Ali architect said: "no real combat is just talking on paper"! Redis live PDF sharing                   Working hard for more than half a year, Ali finally got hi ...

Posted on Sat, 20 Jun 2020 04:52:25 -0400 by canadian_angel

Spring Boot+Element files are uploaded synchronously with form upload files

Business logic needs to add records first and then generate corresponding unique file names by adding the IDS returned by the sql operations of records. el-upload does not automatically upload some pits described below <el-upload :action="uploadUrl()" :on-remove="handleRemove" :before-upload="bef ...

Posted on Fri, 19 Jun 2020 22:45:00 -0400 by revraz

Spring boot auto configuration principle

Spring boot auto configuration principle For example, spring boot's auto configuration principle is similar to the restaurant's mechanism. For my favorite fish scout recently, if we compare spring boot to fish scout and dinner to our application, when we come to fish scout for dinner (equivalent to ...

Posted on Fri, 19 Jun 2020 07:43:01 -0400 by devinemke