skip to content
Alvin Lucillo

Publish a message

/ 1 min read

Publish a message with rabbitmqadmin CLI by providing the queue name in --routing-key argument and the payload

docker exec -it rabbitmq rabbitmqadmin publish message --routing-key=greetings --payload=henlo
Message published and routed successfully