Liking cljdoc? Tell your friends :D

cider-ci.utils.messaging


check-connectionclj

(check-connection)
source

confclj

source

disconnectclj

(disconnect)
source

initializeclj

(initialize new-conf)
source

listenclj

(listen name receiver)
(listen exchange-name receiver queue-name)
(listen exchange-name receiver qname options)

Listen to the message with (the routing key) name usually in ad hoc fashion. Listener is a function that takes one argument, the message. The message is a json compatible object. The variant without specifying the queue name creates a temporary, exclusive and auto deleted queue. The variant specifying the queue name creates a durable queue.

Listen to the message with (the routing key) name  usually in ad hoc
fashion.  Listener is a function that takes one argument, the message. The
message is a json compatible object.  The variant without specifying the
queue name creates a temporary, exclusive and auto deleted queue. The variant
specifying the queue name creates a durable queue.
sourceraw docstring

publishclj

(publish name message)
(publish name message options)
(publish exchange-name message options routing-key)

Publish a (ad hoc) message in json format. Message must be convertible by json/write-str. Creates an topic exchange with default parameters for the given name. The topic is only created once for a given connection and name. Uses name as the routing key if no routing-key is given.

Publish a (ad hoc) message in json format. Message must be convertible  by
json/write-str. Creates an topic exchange with default parameters for the
given name. The topic is only created once for a given connection and name.
Uses name as the routing key if no routing-key is given.
sourceraw docstring

with-channelcljmacro

(with-channel ch-sym & body)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close