Closed nohros closed 7 years ago
If you simply want to defer the same message I guess you could send it locally again. The handler would return as successful and the current message would be acknowledged:
context.Send(context.Message, c => c.Local().Defer(DateTime.Now.AddMinutes(5)));
Remember to have a deferredQueueUri
configured else your inbox will be thrashed.
Hi,
What is the best to defer a message inside the [ProcessMessage] method of a handler. I need to resend the message or just set the [IgnoreTillDate]?