Not sure I understand what you are trying to do, shutting down the
ActorSystem is probably wrong. Perhaps you intended to stop the actor? If
you want at most 12 jobs in parallel you could use a pool router with 12
routees (and don't stop them). Each actor will process its messages
sequentially.
i suspect the issue is related to how you call 'context.system.shutdown()'.
Make sure it is called only after all your messages have been processed to
completion. As written, it appears to be called after the first message is
handled. I'm no expert with actors, but I would guess the reason it
Hi Akka Team,
I have 100 threads, need to process only 12 threads at a time not more than
that. After completion of these threads other 12 have to be processed and
so on but it's processing only first 12 set threads then it terminates
after that.
Here is my Logic:
class AkkaProcessing extends