+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:
Patrik Nordwall 2015-08-18 11:12:56 +02:00
parent a9fbc8e01e
commit b4e482e092
7 changed files with 59 additions and 13 deletions

View file

@ -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

View file

@ -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