nuwber/rabbitevents

Add option --message-ttl

Closed this issue · 2 comments

There's the option --tries which tells how many times a Message could be handled. But there's the problem if a Message becomes outdated. If there's still possible tries but a Message is already expired, it sould be skept and removed from a queue.

The --message-life-time (could be ranamed if necessary) should set the number of seconds in which a message should be handled.

First of all, let's call it --message-ttl

It's already implemented as --timeout option.