Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
test
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.