rabbitmq put-message
vp-utils rabbitmq put-message¶
Put a message to RabbitMQ server
Synopsis¶
Put a message to RabbitMQ server. It will connect to the server and send a message to the specified exchange and routing key
Examples¶
vp-utils rabbitmq put-message --host localhost --port 5672 --user guest --password guest --vhost / --exchange my_exchange --routing-key my_routing_key --message '{"message": "Hello RabbitMQ! This is default test message"}'
Options¶
-e, --exchange string RabbitMQ exchange name to send the message to
-h, --help help for put-message
-H, --host string RabbitMQ server host (default "localhost")
-m, --message string Message to send to RabbitMQ
-p, --password string RabbitMQ password (default "guest")
-P, --port int RabbitMQ server port (default 5672)
-r, --routing-key string RabbitMQ routing key
-s, --ssl Use SSL for RabbitMQ connection
-c, --ssl-cert string Path to SSL certificate file
-k, --ssl-key string Path to SSL key file
-u, --user string RabbitMQ user (default "guest")
-v, --vhost string RabbitMQ virtual host (default "/")
SEE ALSO¶
- vp-utils rabbitmq - RabbitMQ CLI Utils