Skip to content

mjul/zeromq-tutorial

Repository files navigation

ZeroMQ Clojure Tutorial

This is a tutorial to using the ZeroMQ message queue with Clojure.

Usage

Read the source and the tests to see examples of using ZeroMQ in Clojure. If you create more examples, please contribute a patch!

Installation

In order to use this software, ZeroMQ must be installed. Please refer to its website for details on how to install it: ZeroMQ

You need to install both ZeroMQ and the Java bindings (jzmq).

For installation on Mac OSX I found the following guides to be helpful:

After you have installed these libraries run

lein deps
lein test

You may have to edit the project.clj file to point to the correct location of the ZeroMQ libraries:

;; This sets the 'java.library.path' property
;; so Java can find the ZeroMQ dylib
:native-path "/usr/local/lib"

License

Copyright (c) 2010 Martin Jul (www.mjul.com)

This tutorial is licensed under the MIT License. See the LICENSE file for the license terms.

Contact Information and References

Follow me:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published