1
0
mirror of synced 2024-11-05 02:59:16 +00:00
Tapeti/Default/RequeueExceptionStrategy.cs

15 lines
334 B
C#
Raw Normal View History

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;
}
}
}