title: Spring custom request context
body: <p>One of the scopes that Spring provides is request, beans in it are only valid in the context of a request.</p>
  
  <p>That request is normally delegated to a controller after an HTTP request with Spring already setting up everything necessary.</p>
  
  <p>But what if the request comes from a different source, like for example a Java Message Service.</p>
  
  <p>Would it possible to set up a request scope for each processing of a message?</p>
  
  <p>Can I annotate a method with something to mark it as the boundary of a request scope?</p>