=doc #3924 Doc how to be notified when recovery completed
This commit is contained in:
parent
4ba1bc46fb
commit
c1f7d7fa21
7 changed files with 132 additions and 4 deletions
|
|
@ -122,6 +122,14 @@ A processor can query its own recovery status via the methods
|
|||
|
||||
.. includecode:: ../../../akka-samples/akka-sample-persistence-java-lambda/src/main/java/doc/LambdaPersistenceDocTest.java#recovery-status
|
||||
|
||||
Sometimes there is a need for performing additional initialization when the
|
||||
recovery has completed, before processing any other message sent to the processor.
|
||||
The processor can send itself a message from ``preStart``. It will be stashed and received
|
||||
after recovery. The mailbox may contain other messages that are queued in front of
|
||||
that message and therefore you need to stash until you receive that message.
|
||||
|
||||
.. includecode:: ../../../akka-samples/akka-sample-persistence-java-lambda/src/main/java/doc/LambdaPersistenceDocTest.java#recovery-completed
|
||||
|
||||
.. _failure-handling-java-lambda:
|
||||
|
||||
Failure handling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue