1
0
mirror of synced 2024-11-16 14:53:50 +00:00
Tapeti/Default/RequeueExceptionStrategy.cs
Mark van Renswoude 4dd8f73f99 Added request/response validation for non-yieldpoint methods
Added ExceptionStrategy
Removed PublishExchange, fixed default ExchangeStrategy
2017-02-07 16:13:33 +01:00

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