Sha256: 96354d91740a923f265e12310fc3449cc63a7cc314888867181e668bd05efaad
Contents?: true
Size: 349 Bytes
Versions: 8
Compression:
Stored size: 349 Bytes
Contents
require 'rubygems' require 'march_hare' connection = MarchHare.connect(:host => 'localhost') channel = connection.create_channel channel.prefetch = 10 exchange = channel.exchange('frenzy_bunnies', :type => :direct, :durable => true) 100_000.times do |i| exchange.publish("hello world! #{i}", :routing_key => 'new.feeds') end puts "done"
Version data entries
8 entries across 8 versions & 1 rubygems