rabbitmq mail notification dead letter queue messages


 


! $. 4 = {0}. 4 Print $ ' ` for I in SEQ ` . 1 $ message_count` do #requeue = message will be removed to false, the test may be formulated = to requeue to true message_body = `/ rabbitmqadmin.py -H MQ server address - $ -p $ password the User U GET Queue = DeadLetterQueue requeue = false ` echo $ message_body >> $ message_file DONE the Message =` CAT $ message_file` echo $ the Message >> $ maillog CAT << EOF | mail -s " RabbitMQ Dead Letter the Message " $ Receiver the Message $ EOF RM -f " $ message_file "

# rabbitmqadmin.py can interface to download through the official

 

Guess you like

Origin www.cnblogs.com/imcati/p/11276122.html