Как вернуть ответ пользователю, продолжая параллельную транзакцию JDBC? - PullRequest
0 голосов
/ 07 июля 2019

Я использую игру 2.6.

Мне нужно сделать что-то вроде этого:

1-Receive an HTTP request 2-Start a job to insert hundreds of thousands of rows in the Database, which might take hours to complete 3-Return an HTTP response immediately after starting the job 4-Keep the job running and send an email to the user when it's finished

Я нашел некоторую документацию, связанную с Akka https://www.playframework.com/documentation/2.6.x/JavaAkka, но я не знаю, так ли это? Я на правильном пути?

...