namespace Tapeti { /// /// Determines how the message has been handled and the response given to the message bus. /// public enum ConsumeResult { /// /// Acknowledge the message and remove it from the queue. /// Success, /// /// Negatively acknowledge the message and remove it from the queue, send to dead-letter queue if configured on the bus. /// Error, /// /// Negatively acknowledge the message and put it back in the queue to try again later. /// Requeue, /// /// The message has been stored for republishing and will be delivered again by some other means. /// It will be acknowledged and removed from the queue as if succesful. /// /// /// This option is for compatibility with external scheduler services. The exception strategy must guarantee that the /// message will eventually be republished. /// ExternalRequeue } }