This will submit a message to RabbitMQ, if the queue does not exist it will
be created. The message will be converted to a json message that is
submitted.
Usage
rabbitmq_post_message(uri, queue, message, prefix = "", port = 15672)
Arguments
- uri
RabbitMQ URI or URL to rest endpoint
- queue
the queue the message is submitted to
- message
the message to submit, will beconverted to json.
- prefix
prefix for the rabbitmq api endpoint, default is for no prefix.
- port
port for the management interface, the default is 15672.
Value
the result of the post if message was send, or NA if it failed.
Author
Alexey Shiklomanov, Rob Kooper