Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1367

In Singleton Actor, Scheduler schedule method not running after 1 or 2 runs

$
0
0

Akka version is 2.5.23

From Singleton Actor we are calling schedule method to send a self message in every 1 hour.

getContext().getSystem().scheduler().schedule(initialDelay, interval, self(), CronActivity.WAKEUP, executionContext, ActorRef.noSender())

executionContext is default.

After 1/2 runs the scheduling does not work, please help with this.

Also not sure what does executionContext means in context of schedule method. Does it means that while sending message the thread pool of executionContext will be used ?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1367

Trending Articles