Nikolaos
Nikolaos

Reputation: 1469

How to empty Actor dead letter queue

I have a use case where I'd like to empty my Akka actors' dead letter queues.

My local actor talks to a remote actor, sending it some data periodically. I think these get queued up as when the remote actors becomes available, it gets a flood of events.

Is it possible to limit the size of this queue? Or even better access it, for clearing up the excess items based on some criteria? (at this point I'm even happy just clearing the whole thing up, or disabling this feature)

Upvotes: 4

Views: 1472

Answers (1)

drexin
drexin

Reputation: 24403

You don't need to clear it up. Per default it will just push the messages to the event bus: See here. If there are no subscribers, it will just be thrown away: See here.

Upvotes: 4

Related Questions