1
0
mirror of synced 2024-11-05 11:09:17 +00:00
Tapeti/Tapeti/Default/RequeueExceptionStrategy.cs

15 lines
334 B
C#

using System;
using Tapeti.Config;
namespace Tapeti.Default
{
public class RequeueExceptionStrategy : IExceptionStrategy
{
public ConsumeResponse HandleException(IMessageContext context, Exception exception)
{
// TODO log exception
return ConsumeResponse.Requeue;
}
}
}