istt / campaign-manager

1 stars 0 forks source link

Pause and Resume #2

Open dinhtrung opened 6 years ago

dinhtrung commented 6 years ago

Frequently check if campaign is in Paused state

dinhtrung commented 6 years ago

Current approach:

The SendSmsService.java will select with a PageRequest:

Pageable pageable = PageRequest.of(1, 1000);

Then service continously select the campaign to send out.