Skip to content

looking for a way to reliably send a message to self #6568

Answered by Danthar
benbenwilde asked this question in Q&A
Discussion options

You must be logged in to vote

I think your operating on a misconception here. Ill go over your remarks point by point and then end with some advice.

1: It depends on the supervision strategy being applied, but the default supervision strategy is to restart. See here for some specifics.
2: Correct. With the caveat of point 1 and also the message that causes the failure is not automatically retried.
3: Im not sure what you mean exactly by 'registering it for execution'. Conceptually the mailbox is a queue and the actor takes a message from this queue and processes it.

Your talking about errors in the dispatch process. If by that you mean the part of a message being in the mailbox, and the actor taking it from the mailbo…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@benbenwilde
Comment options

@Danthar
Comment options

@benbenwilde
Comment options

@Danthar
Comment options

@benbenwilde
Comment options

Answer selected by benbenwilde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants