Hi Endre,

Good idea, I just tried it with a simple Actor with Stash. When using 
system.actorOf it works fine, however for that project we create our actors 
using an ActorCreator. As soon as I use that for the Actor with Stash I get 
the error. I guess that the Creator does not play nice with the 
auto-detection Akka does. The only question is, if it is a problem with our 
implementation or if using an actor creator breaks the auto configuration 
Akka does there?

Cheers,
Michael


Am Donnerstag, 2. Oktober 2014 14:52:27 UTC+2 schrieb Akka Team:
>
> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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