Liking cljdoc? Tell your friends :D

titanoboa.channel


*mq-session*clj


->distributed-chcljmultimethod


ack!cljmultimethod


alt!!cljmacro

(alt!! & clauses)

alts!!cljmultimethod

Enables calling alts!! on a mix of core.async and RabbitMQ channels. If only core.async channels are provided it calls the native core.async alts!! function on them. Otherwise calls rmq-blocking-alts!! which will block and periodically poll all given channels.

Enables calling alts!! on a mix of core.async and RabbitMQ channels.
If only core.async channels are provided it calls the native core.async alts!! function on them.
Otherwise calls rmq-blocking-alts!! which will block and periodically poll all given channels.
raw docstring

Cleanablecljprotocol

cleanup!clj

(cleanup! this)

current-sessionclj

(current-session)

If used within (with-connection conn ...), returns the currently bound connection.

If used within (with-connection conn ...),
returns the currently bound connection.
raw docstring

delete-mq-chancljmultimethod


distributed?cljmultimethod


mq-chancljmultimethod


nack!cljmultimethod


poll!cljmultimethod

Synchronous poll operation. Reads from given channel or immediatelly returns nil if the channel is empty.

Synchronous poll operation.
Reads from given channel or immediatelly returns nil if the channel is empty.
raw docstring

TransChannelProtocolcljprotocol

generic interface for channel implementaiton - from core.async through JMS to AMQP

generic interface for channel implementaiton - from core.async through JMS to AMQP
raw docstring

with-mq-sessioncljmacro

(with-mq-session conn & body)

Binds session to a value you can retrieve with (current-session) within body.

Binds session to a value you can retrieve
with (current-session) within body.
raw docstring

with-mq-sessionpoolcljmacro

(with-mq-sessionpool pool & body)

Retrieves a session from provided session pool (which is expected to be a simple core.async chan that provides maps in a format of {:connection RMQ-Connection-object :session RMQ-Session-object}). Binds session to a value you can retrieve with (current-session) within body. If the session has already been bound then does nothing - to enable nested use of this macro without furhter consumption from the session pool.

Retrieves a session from provided session pool (which is expected to be a simple core.async chan
that provides maps in a format of {:connection RMQ-Connection-object :session RMQ-Session-object}).
Binds session to a value you can retrieve
with (current-session) within body.
If the session has already been bound then does nothing - to enable nested use of this macro without furhter consumption from the session pool.
raw docstring

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

× close