Hi Michael,

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.
>

Yes, Stash declares a DequeMailbox requirement.


> 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).
>

Akka should pick up the correct mailbox from the configuration in these
cases, interesting why it did not succeed this time.


>
> 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.
>

In the reference conf the settings are:

akka.actor.mailbox.requirements { ...
 "akka.dispatch.BoundedMessageQueueSemantics" =
   akka.actor.mailbox.bounded-queue-based ...
}

akka.actor.mailbox.unbounded-deque-based {
  mailbox-type = "akka.dispatch.UnboundedDequeBasedMailbox"
}

And stash trait is:

Stash extends UnrestrictedStash with
RequiresMessageQueue[DequeBasedMessageQueueSemantics]

In principle this would make Akka pick up the correct mailbox requirement
for those actors.

Can you try a simple Actor with Stash and see if that works? This can be a
configuration issue or a bug.

-Endre


>
> 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.
>



-- 
Akka Team
Typesafe - The software stack for applications that scale
Blog: letitcrash.com
Twitter: @akkateam

-- 
>>>>>>>>>>      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