Hi guys,

I just ran across the following exception during a rewrite from the old 
Persistence API to the new:

akka.actor.ActorInitializationException: DequeBasedMailbox required, got: 
akka.dispatch.UnboundedMailbox$MessageQueue
An (unbounded) deque-based mailbox can be configured as follows:
  my-custom-mailbox {
    mailbox-type = "akka.dispatch.UnboundedDequeBasedMailbox"
  }

at akka.actor.ActorInitializationException$.apply(Actor.scala:164)
at akka.actor.StashSupport$class.$init$(Stash.scala:144)
at akka.persistence.UntypedPersistentActor.<init>(Eventsourced.scala:428)

I know that the Recovery Trait uses Stash, and StashSupport wants the deque 
mailbox, but AFAIK that was also the case with the old API. 
I am puzzled as to why I did not see those before (and also did not see 
those when writing other stuff with the Persistence API, new or old).

Is there a specific way to create the actor or the props that triggers that 
problem? We did not change anything there, but still maybe that would be a 
hint where to start.

Cheers,
The Michael ;-)

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to