Skip to content

About

No description or website provided.

Topics

Resources

Stars

23 stars

Watchers

2 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

springcloud-idempotent-starter

A solution of idempotent for SpringBoot. Based on SpringMVC components (HandlerInterceptorAdapter + ResponseBodyAdvice) And the Redis-NX implementions distribution lock。

This is something that you get for free just by adding the following dependency inside your project:

<dependency>
	<groupId>org.amu.starter</groupId>
	<artifactId>springcloud-idempotent-starter</artifactId>
	<version>0.0.1-SNAPSHOT</version>
</dependency>

Then you can configure the package in your code simply by:

@ComponentScan(basePackages = { "org.amu.starter.springcloud.idempotent" })

All HTTP reqeusts (not GET method) need add header "X-REQ-IDEM-ID" with a UUID value.

About

No description or website provided.

Topics

Resources

Stars

23 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages