extract dead-letter publishing from rabbit_amqqueue_process
Merge bug25951