Liking cljdoc? Tell your friends :D

ziggurat.messaging.consumer


convert-and-ack-messageclj

(convert-and-ack-message ch
                         {:keys [delivery-tag] :as meta}
                         payload
                         ack?
                         topic-entity)

De-serializes the message payload (payload) using nippy/thaw and converts it to MessagePayload. Acks the message if ack? is true.

De-serializes the message payload (`payload`) using `nippy/thaw` and converts it to `MessagePayload`. Acks the message
if `ack?` is true.
sourceraw docstring

get-dead-set-messagesclj

(get-dead-set-messages topic-entity count)
(get-dead-set-messages topic-entity channel count)

This method can be used to read and optionally ack messages in dead-letter queue, based on the value of ack?.

For example, this method can be used to delete messages from dead-letter queue if ack? is set to true.

This method can be used to read and optionally ack messages in dead-letter queue, based on the value of `ack?`.

For example, this method can be used to delete messages from dead-letter queue if `ack?` is set to true.
sourceraw docstring

process-dead-set-messagesclj

(process-dead-set-messages topic-entity count processing-fn)
(process-dead-set-messages topic-entity channel count processing-fn)

This method reads and processes count number of messages from RabbitMQ dead-letter queue for topic topic-entity and channel specified by channel. Executes processing-fn for every message read from the queue.

This method reads and processes `count` number of messages from RabbitMQ dead-letter queue for topic `topic-entity` and
channel specified by `channel`. Executes `processing-fn` for every message read from the queue.
sourceraw docstring

process-message-from-queueclj

(process-message-from-queue ch meta payload topic-entity processing-fn)
source

read-message-from-queueclj

(read-message-from-queue ch queue-name topic-entity ack?)
source

start-channels-subscriberclj

(start-channels-subscriber channels topic-entity)
source

start-retry-subscriber*clj

(start-retry-subscriber* handler-fn topic-entity)
source

start-subscribersclj

(start-subscribers stream-routes batch-routes)

Starts the subscriber to the instant queue of the rabbitmq

Starts the subscriber to the instant queue of the rabbitmq
sourceraw docstring

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

× close