title: Spring Listener for MongoDB data insertion
body: <p>I have a requirement where I need to display data inserted into a particular MongoDB collection onto a User's dashboard in real time. Please note data maybe inserted by this user or other users. The dashboard is part of a Spring MVC web-application. The MongoDB data-layer is written in Spring Data.</p>
  
  <p>I intend to use Server-sent events approach to push the newly inserted data to the dashboard. I am looking for an efficient way to listen to data insertion using Spring. I am even open to a non-Spring approach to implement the Listener that will eventually talk to my Spring SSE emitter.</p>