Announcement Announcement Module
Collapse
No announcement yet.
Process request in a separate thread Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Process request in a separate thread

    I would like to process http request in a separate thread. The problem seems to be that the thread is outside the request scope.
    I get exceptions with messages like "No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread?"

    So - how to start a separate thread (java.util.concurrent.Future) and keep the request scope?
Working...
X