we need to create an Actor that discards messages once it's mailbox is filled up to a certain size.
Browsing the assemblies reveiled that there is a BoundedMessageQueue
already implemented offering the options:
- mailbox-capacity
- mailbox-push-timeout-time
We could not figure out the correct syntax how to create an actor with a BoundedMessageQueue
and the appropriate settings. The closest we could get was Props.Create(...).WithMailbox(???)
Any help would be appriciated.