cleanUp
public void cleanUp(ActorRef owner,
MessageQueue deadLetters)
Called when the mailbox this queue belongs to is disposed of. Normally it
is expected to transfer all remaining messages into the dead letter queue
which is passed in. The owner of this MessageQueue is passed in if
available (e.g. for creating DeadLetters()), “/deadletters” otherwise.
- Specified by:
cleanUp
in interface MessageQueue
- Specified by:
cleanUp
in interface QueueBasedMessageQueue
- Parameters:
owner
- (undocumented)
deadLetters
- (undocumented)