Can Akka Aker remove messages from his mailbox, if necessary?

For example, if I want to remove redundant messages from the queue, so that when an actor receives a Connect message, he must check his mailbox and delete other Connect messages to make only one connection instead of several.

Is this possible?

+6
source share
1 answer

Yes, you can configure the participant manager to have any mailbox of your choice, therefore, if you implement such a mailbox, you can use it, see the following section of the documentation: http://doc.akka.io/docs/akka /2.1.1/scala/dispatchers.html#Mailboxes

+6
source

All Articles