Sha256: 15d20d3e6a0dfbee04a73c30ddd7f889ef343ad986ee4b15299a6fcb4af5af48

Contents?: true

Size: 350 Bytes

Versions: 6

Compression:

Stored size: 350 Bytes

Contents

$:.unshift File.dirname(__FILE__) + '/../lib'
require "rubygems"
require "cloudist"

::Signal.trap('INT') { Cloudist.stop }
::Signal.trap('TERM'){ Cloudist.stop }

Cloudist.start {
  
  payload = Cloudist::Payload.new({:event => "started"})
  
  q = Cloudist::ReplyQueue.new('temp.reply.make.sandwich')
  q.setup
  q.publish_to_q(payload)
  
  stop
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cloudist-0.2.1 examples/queue_message.rb
cloudist-0.2.0 examples/queue_message.rb
cloudist-0.1.2 examples/queue_message.rb
cloudist-0.1.1 examples/queue_message.rb
cloudist-0.1.0 examples/queue_message.rb
cloudist-0.0.3 examples/queue_message.rb