Liking cljdoc? Tell your friends :D

elasticmq-clj

Embedded sqs for clojure based on elasticmq

Usage

Clojars Project

Development:

(require 'elasticmq-clj.core)

;; Start a local elasticmq with default port:
(init-elasticmq)

;; another call will halt the previous system:
(init-elasticmq)

;; When you're done:
(halt-elasticmq!)

Testing:

NOTE: these will halt running elasticmq instances

(require 'clojure.test)

(use-fixtures :once with-elasticmq-fn)

(defn around-all
  [f]
  (with-elasticmq-fn "optional file path for custom.conf"
                    f))

(use-fixtures :once around-all)


; You can also wrap ad-hoc code in init/halt:
(with-elasticmq "optional file path for custom.conf"
  do-something) 

Can you improve this documentation?Edit on GitHub

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

× close