Real-time Chat Messages Not Appearing in Angular & Spring Boot Application
Hello everyone,
I'm working on a chat application using Angular on the frontend and Spring Boot on the backend. The chat messages are not appearing in real-time for the recipient, even though the WebSocket connection seems to be established correctly. Here’s a summary of the setup and the issue:
Problem Description
The messages are successfully sent from the sender, processed by the backend, saved in the database, and logged as sent to the recipient. However, the recipient does not receive the messages in real-time. The recipient only sees the messages after refreshing the page, which loads the messages from the database.
I'm struggling with this prob , its been 2 weeks right now
4 Replies