Solution for above issue is:
1.download https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/3.8.17/rabbitmq_delayed_message_exchange-3.8.17.8f537ac.ez into /plugins folder inside the rabbitmq container
- ssh into rabbitmq container and run
rabbitmq-plugins enable rabbitmq_delayed_message_exchange
My commands are:
1. docker cp "/home/hassan/Downloads/rabbitmq_delayed_message_exchange-3.8.17.8f537ac.ez" 599b5b6f509e:"/plugins"
2. docker exec -it 599b5b6f509e /bin/bash
3. rabbitmq-plugins enable rabbitmq_delayed_message_exchange
599b5b6f509e is my rabitmq container id. mightbe helpful or gave starting point to fix for someone facing this issue