What's the underlying need here?  I can't recall ever seeing anyone do
something like this, and it's fairly counter to the general architecture of
Akka.  I suspect it's impossible in the general case.  (Note that custom
mailboxes are always a dicey proposition, and usually indicate that you're
trying to do something unwise.)

That said, "only accepting some well-defined messages" is precisely the way
Actors usually work.

But generally: what are you trying to accomplish?  It might be easier to
help you with a better idea of what you really need...

On Wed, Mar 15, 2017 at 7:54 PM, Rado Buranský <[email protected]>
wrote:

> Here is my original unanswered SO question:
> http://stackoverflow.com/questions/42773328/how-to-isolate-akka-actor
>
> Is it possible to protect some actors within a single actor system from
> other actors? Is it actually a good idea at all? I can imagine to implement
> a custom mailbox which accepts only some well-defined messages.
>
> --
> >>>>>>>>>> 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 https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to