Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 README.md
README.md

Zue

ZeroMQ Queue. Rhymes with "queue".

Loosely based on the ZeroMQ Freelance protocol. Read the rationale for the Freelance protocol.

Servers

handler = lambda do |job|
  puts job.ccf
  job.messages.each { |msg| puts msg }
  puts
end

server = Zue::Server.new 'tcp://127.0.0.1:5555', handler
server.perform

Clients

client = Zue::Client.new
client.add_server 'tcp://127.0.0.1:5555'
#client.add_server 'tcp://127.0.0.1:5556'

client.deliver "abc"
Something went wrong with that request. Please try again.