Pause Queue and leave message on queue

We have a usecase where processing of messages from a queue might legitimately fail. In this case we would like to pause processing from the queue and leave the failed message on the queue.

Is there any recommended practice for getting this to occur e.g.

  1. Can we deregister the queue / message type
  2. Can we prevent message from being dequeued
    or
  3. Can we requeue the message from the dead letter queue.

Any recommendations would be appreciated.

Best Regards

You can’t pause a single queue, but you can stop the message Service:

HostContext.TryResolve<IMessageService>().Stop():
1 Like