Mark van Renswoude
b980e308d1
Added ExceptionStrategy Removed PublishExchange, fixed default ExchangeStrategy
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;
|
|
}
|
|
}
|
|
}
|