title: How to access request object in @MessageMapping method with spring websocket implementation
body: <p>I am integrating an existing spring MVC web application with spring websockets. I was successfully able to integrate by following the instructions in </p>
  
  <p><a href="https://spring.io/guides/gs/messaging-stomp-websocket/" rel="nofollow">https://spring.io/guides/gs/messaging-stomp-websocket/</a></p>
  
  <p>The existing web application has a filter, which sets a few of the attributes. I have a requirement to access the attributes set by the filter in the controller i,e in @MessageMapping method. </p>
  
  <p>Could some one tel how can we access the request object in the @MessageMapping method?</p>