Liking cljdoc? Tell your friends :D

com.moclojer.components.mq


IMQcljprotocol

start-job!clj

(start-job! this job)

Starts a simple reoccuring job that triggers it.

A job should look like this: `{:channel "my-channel" :event {:hello 1} :sleep 2500 :max-attempts 50}

Both :sleep and :max-attempts are optional.

Starts a simple reoccuring `job` that triggers it.

A job should look like this:
`{:channel "my-channel"
  :event {:hello 1}
  :sleep 2500
  :max-attempts 50}

Both `:sleep` and `:max-attempts` are optional.

try-op!clj

(try-op! this op-name args ctx)

Wraps our clj-rq operations in order for our components to call sentry if an error or exception occurs.

Wraps our `clj-rq` operations in order for our components to call sentry
if an error or exception occurs.
source

mock-channelsclj

source

mock-op-name->op-fnclj

(mock-op-name->op-fn op-name)

Adapts given mq operation name to its relative function.

Adapts given mq `operation name` to its relative function.
sourceraw docstring

op-name->op-fnclj

(op-name->op-fn op-name)

Adapts given mq operation name to its relative function.

Adapts given mq `operation name` to its relative function.
sourceraw docstring

wrap-workerclj

(wrap-worker worker components sentry)

Wraps given worker with a secure try-catch. Also, adds components to it's invocation.

Wraps given `worker` with a secure try-catch. Also, adds `components`
to it's invocation.
sourceraw docstring

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

× close