Skip to content

YegresOm/spring-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

spring-events

I just wanted to play with Spring events

Resource pool in memory DB, resource could be booked and released with HTTP request. After release resource is back in pool. Remote host is used as holder id.

Core classes: ResourcePool, ResourceController Communication is async and based on events

To run: mvn spring-boot:run Application will be available on http://localhost:8080

GET /pool/{size} resource pool initialization GET /book book resource GET /release release resource

About

I wanted to play with Spring events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages