dimanche 6 août 2017

Async data processing and application failure

I have a Spring rest application. The rest services receive requests from the users, and each request triggers an Async (method) process. That process creates some records from the db and submit them to messaging server with JMS. Now, the problem is if the application crashes for some reason, the system should be able to continue from where it was left. It should not submit the messages that has already been sent, meanwhile it should detect the records that failed to be sent. What would be the best possible solution for such a problem?

Aucun commentaire:

Enregistrer un commentaire