15 lines
334 B
C#
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;
|
|
}
|
|
}
|
|
}
|