Have an endpoint setup with simple retry:
sbc.UseRetry(Retry.Intervals(new TimeSpan(0,0,10), new TimeSpan(0,0,10)));
2015-11-23 13:33:57.068 -05:00 [Error] Rescuing exception
System.ArgumentException: The tasks argument included a null value.
Parameter name: tasks
at System.Threading.Tasks.Task.WhenAll(IEnumerable`1 tasks)
at MassTransit.Context.BaseReceiveContext.get_CompleteTask()
at MassTransit.Serialization.JsonConsumeContext.get_CompleteTask()
at MassTransit.Pipeline.Filters.DeserializeFilter.<Send>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MassTransit.Pipeline.Filters.RescueReceiveContextFilter`1.<MassTransit-Pipeline-IFilter<MassTransit-ReceiveContext>-Send>d__5.MoveNext()
The consumer is successfully processing messages. However, there have be several (6) messages today that ended up in the _error queue.
The exception that shows is the above one.
I am running MT version: 3.0.15.258
Questions other than the obvious - why is the above failing...
- if a message 'fails' and I have a retry policy setup, will the exception (reason for failure) be logged by MT? In the above, the only exception I received was what you see above.
- if a message goes into the error queue - can we use rabbit shovel to put it back into the regular queue to retry processing as is? (just not sure if all the headers and exception and such are an issue).
- Assuming we can shovel from error to the consumer - I am guessing all the exception information will be lost, so that if it ends back up in the error queue again, we will not have the previous failure also in the message?
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/d909fb01-aa64-4641-80de-08f82bf64597%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/06bf621e-9262-41e7-be68-33f68b314b0b%40googlegroups.com.