AMQP-PUBLISH(1) RabbitMQ C Client AMQP-PUBLISH(1) (NAME) amqp-publish - AMQP (SYNOPSIS) amqp-publish [OPTION...] (DESCRIPTION) exchange AMQP () . basic.publish AMQP . . -b . (OPTIONS) -e, --exchange=exchange name exchange . exchange ( exchange ) . -r, --routing-key=routing key (routing key) . . exchange routing key AMQP (queue) . -p, --persistent (persistent). (non-persistent) . -C, --content-type=MIME type content-type . content-type . -E, --content-encoding=content coding content-encoding . content-encoding . -b, --body=message body . . -H, --header=header "key: value" . (EXAMPLES) "Hello" "myqueue" exchange : $ amqp-publish -r myqueue -b Hello XML exchange "events" content-type : $ amqp-publish -e events -p -C text/xml (SEE ALSO) librabbitmq-tools(7) RabbitMQ C Client . (AUTHORS) RabbitMQ <> RabbitMQ C Client 2026-06-15 AMQP-PUBLISH(1)