KCML_RabbitMQ_Send

Purpose

Send a message to a RabbitMQ server.

Definition

DEFSUB 'KCML_RabbitMQ_Send(routingKey$, exchange$, message$, Persist = 1) AS Bool

Parameters

routingKeyThe queue's routing key.
exchangeThe queue's exchange.
messageMessage text.
PersistOptional. 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.