+act #16629 Possibility to receive messages that not reset receiveTimeout
Need this for AtLeastOnceDelivery Messages marked with `NotInfluenceReceiveTimeout` will not reset the timer. This can be useful when `ReceiveTimeout` should be fired by external inactivity but not influenced by internal activity, e.g. scheduled tick messages. add to rst docs also
This commit is contained in:
parent
a9fbc8e01e
commit
b4e482e092
7 changed files with 59 additions and 13 deletions
|
|
@ -658,6 +658,10 @@ periods). Pass in `Duration.Undefined` to switch off this feature.
|
|||
|
||||
.. includecode:: code/docs/actorlambda/ActorDocTest.java#receive-timeout
|
||||
|
||||
Messages marked with ``NotInfluenceReceiveTimeout`` will not reset the timer. This can be useful when
|
||||
``ReceiveTimeout`` should be fired by external inactivity but not influenced by internal activity,
|
||||
e.g. scheduled tick messages.
|
||||
|
||||
.. _stopping-actors-lambda:
|
||||
|
||||
Stopping actors
|
||||
|
|
|
|||
|
|
@ -603,6 +603,10 @@ periods). Pass in `Duration.Undefined` to switch off this feature.
|
|||
|
||||
.. includecode:: code/docs/actor/MyReceiveTimeoutUntypedActor.java#receive-timeout
|
||||
|
||||
Messages marked with ``NotInfluenceReceiveTimeout`` will not reset the timer. This can be useful when
|
||||
``ReceiveTimeout`` should be fired by external inactivity but not influenced by internal activity,
|
||||
e.g. scheduled tick messages.
|
||||
|
||||
.. _stopping-actors-java:
|
||||
|
||||
Stopping actors
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue