-
-
Notifications
You must be signed in to change notification settings - Fork 289
Open
Description
I try to implement some rate limiter for RabbitMq queue. In case rate limit exceeded RateLimitException have been thrown. I use PauseThenRequeue in HandlerChain but after time my handler does not resume handling messages.
Besides, message duplicates in rabbit queue.
public class OrderHandler
{
public static void Configure(HandlerChain chain)
{
chain.OnException<RpsLimitException>().PauseThenRequeue(10.Seconds());
}
public void Handle(Order message)
{
// my code here
}
}
Maybe I need to use another configuration for rate limiter?
Wolverine version: 5.12.1
Metadata
Metadata
Assignees
Labels
No labels