I have a requirement to refresh an angular component, when someone send message to a queue. I have a service which will take the message from the queue and process. However, I would love to know, how can we update the data on the angualr component, after the service complete its execution, as the service knows nothing about angular or, is there any way for the service to trigger a change in the angular component.
Other than the timer available in the angular to periodically poll the service manually, do we have any other option available to meet this requirement?
Any help on this is much appreciated.