Search code examples
springthrift

Force spring to start request


is there way to force spring to start new request from some point of code?

The reason beyond it is, that I am replacing communication from Rest to Thrift, but there are beans with request scope.


Solution

  • Solved by overriding Request Scope using SimpleThreadScope.