PersistentActor with PriorityMailbox?

Viewed 58

I would like to have an PersistentActor with a prioritized mailbox. When I follow the documentation example and use and UnboundedPriorityMailbox, it does not fulfill the PersistentActors Stash constraint of implementing DequeBasedMessageQueueSemantics.

Does a mailbox exist for my use case, should I try to implement my own, should I circumvent the problem by adding a normal actor with a PriorityMailbox before my PersistentActor or is there another pattern I am missing?

0 Answers
Related