...
- You must provide your own exception handling on a per-message basis, and individually set the properties of each context within the batch. For example, if you are sending messages to an external service in parallel, you must handle updating each individual context manually.
- Exceptions thrown from the ProcessMessagesAsync method can be handled by the OnBatchError method. If you have not overridden this method, then the entire batch of messages will be retried. Note this behavior is probably not optimal since you may have successfully processed all but one message in your batch.
- The OnBatchError method exposes the same properties as the OnError method. If you set Retry = false then the entire batch of messages will be moved to the error queue.