Original idea : Accompanying source code for blog entry at http://tech.asimio.net/2017/11/28/An-alternative-to-ThreadLocal-using-Spring.html My Work : Pumped to Java 11 and Spring Boot 2.1.x
- Java 11
- Maven 3.5 or better
./mvnw spring-boot:run
curl -v -H "X-TENANT-ID:tenant_1" http://localhost:8080/demo
curl -v -H "X-TENANT-ID:tenant_2" http://localhost:8080/demo
- ootero at asimio dot net
- https://www.linkedin.com/in/ootero