Skip to content Skip to sidebar Skip to footer

How To Do Guaranteed Message Delivery With Java Client Signalr?

I use SignalR on my Android app to exchange messages. Everything works fine, but I just do not know how to resend the message I sent when disconnected from the Internet when I conn

Solution 1:

You could store your messages in a database table. When a client is connected have messages delivered that are in the database. When the client has received through a function, have a response back to the HUB to do a function (mark the messages read or delete them from the table, etc...).

If a client gets disconnected, the messages are still in the table waiting to be delivered at next connection.

That is just an option. You need to determine what's best in your workflow.

Post a Comment for "How To Do Guaranteed Message Delivery With Java Client Signalr?"