Mark van Renswoude
4dd8f73f99
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;
|
|
}
|
|
}
|
|
}
|