Liking cljdoc? Tell your friends :D

titanoboa.channel


*mq-session*clj

source

->distributed-chcljmultimethod

source

ack!cljmultimethod

source

alt!!cljmacro

(alt!! & clauses)
source

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.
sourceraw docstring

Cleanablecljprotocol

cleanup!clj

(cleanup! this)
source

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.
sourceraw docstring

delete-mq-chancljmultimethod

source

distributed?cljmultimethod

source

mq-chancljmultimethod

source

nack!cljmultimethod

source

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.
sourceraw 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
sourceraw 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.
sourceraw 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.
sourceraw docstring

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

× close