How to retry messages which are in the error queue. 

  1. Dump error queue messages
    Use the EasyNetQ.Hosepipe command line utility to dump the messages to the filesystem.
    EasyNetQ.Hosepipe.exe err v:<virtual_host> u:<username> p:<password> o:<some_folder>

  2. Purge the error queue
    From RabbitMQ Management portal (http://<hostname>:15672)
    Queues -> EasyNetQ_Default_Error_Queue -> scroll to bottom and click Purge
    Make sure you pay close attention to which virtual host error queue you're purging as there could be more than 1.

  3. Retry error queue messages
    Using the EasyNetQ.Hosepipe command line utility to retry the messages.
    EasyNetQ.Hosepipe.exe retry v:<virtual_host> u:<username> p:<password> o:<some_folder>

  4. Verify retry was successful

    From RabbitMQ Management portal

    Queues -> EasyNetQ_Default_Error_Queue should have no messages in the Ready/Total column.


  5. Cleanup

    Delete the messages you dumped to <some_folder>


References

EasyNetQ.Hosepipe Usage