KCML_RabbitMQ_Send
Purpose
Send a message to a RabbitMQ server.
Definition
DEFSUB 'KCML_RabbitMQ_Send(routingKey$, exchange$, message$, Persist = 1) AS Bool
Parameters
| routingKey | The queue's routing key. |
| exchange | The queue's exchange. |
| message | Message text. |
| Persist | Optional. Message persistence, default is TRUE though the server may block while flushing buffered persistent messages to disk. |
Return
Returns TRUE on success.
Description
Send a message directly to a RabbitMQ server. Unlike 'KCML_MessageQueue_Send() no queue has to be defined in /etc/kcml/msgq.conf. Instead, the queue is identified by the RoutingKey$ and Exchange$ parameters. Only suppored on Linux & AIX.
See also
Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.