Skip to content

Example of workaround with ThreadLocal-like variables for Reactive controllers

Notifications You must be signed in to change notification settings

ivyazmitinov/micronaut-request-scope-workaround

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

POC of ThreadLocal type of @Bean, propagated throughout Reactive Flow

Takes APP_NAME value from HTTP header and puts it into ReactiveThreadLocal variable.

Usage

Start app and curl to /test with APP_NAME header

About

Example of workaround with ThreadLocal-like variables for Reactive controllers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages